woocommerce / woocommerce-ios

WooCommerce iOS app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
299 stars 110 forks source link

[Hub Menu] Menu items cannot be opened in VoiceOver #13677

Closed joshheald closed 2 weeks ago

joshheald commented 3 weeks ago

Description

Since WCiOS 17.9, it's not been possible to open items in the hub menu using VoiceOver (and potentially other accessibility technologies.)

This is due to the transparent overlay modifier added to each menu item, adding a transparent NavigationItem, which is a workaround to prevent a second chevron being added to the menu items. That allows us to have different chevron behaviour, which can't otherwise be overridden in a list.

Unfortunately, the overlay also prevents the double-tap activate gesture in VoiceOver from working.

Repro

  1. Open the app
  2. Navigate to the menu
  3. Enable VoiceOver
  4. Swipe right to get to a menu item (not the store switcher)
  5. Double tap to activate
  6. Observe that it simply reads the name again.

Expectation: the relevant menu item should open.

Screenshots

https://github.com/user-attachments/assets/e552459f-9b88-49a1-83cc-03977dacd613

dangermattic commented 3 weeks ago

Thanks for reporting! 👍