fizzstudio / svg-aria-test

Testing and reaching parity between HTML and SVG handling of ARIA
MIT License
0 stars 3 forks source link

VO+Safari does not recognize submenu labels #97

Open shelbyelavsky opened 2 years ago

shelbyelavsky commented 2 years ago

This is an issue in reference to #26 which is related to the "primitives and nested role=Menu/Menuitem" branch. All tests use native SR navigation (arrow keys) and TAB.

Preface: A seasoned SR user could have the knowledge to navigate and explore the menu test webpage with more nuance, whether through manual mode switching, certain key shortcuts, etc. But this test is with the SR’s default/automatic options and performed as if a new or beginner user is interacting with SVG elements. We would expect that all users could be able to navigate smoothly, regardless of experience levels.

Screenshot of VoiceOver in a menu test environment. The focus indicator is highlighting the Edit sub-menu, but the speech viewer reads 'File, collapsed, menu item'..

Issue Summary

VoiceOver does not read off the menu labels after “File” when navigating to them. It instead reads of the previous menu as “X, collapsed, menu item.” This happens for all elements. Example: when navigating to the Edit menu after the sub-menu is closed, VO states “File, collapsed, menu item.” But the focus indicator is highlighting the “Edit” menu button. Selecting and navigating into the sub-menu has the correct labels. This happens in both SVG and HTML.

Video of issue

Example starts at 00:00:45 https://user-images.githubusercontent.com/98043076/181066936-f05b811e-d43a-48c7-92cf-d2d7fd04aee7.mp4 Example starts at 00:00:02 https://user-images.githubusercontent.com/98043076/181068791-5bdb8978-0b1f-49b3-924c-5c698f9c4e18.mp4

Steps to reproduce

Starting at the "Interactions Instructions" heading: Use VoiceOver's Control+Option+Down arrow key to navigate into the SVG space with the "Enable Arrow Key Navigation" checkbox unchecked. Press TAB to access the File menu. Press Control+Option+SPACE to expand the menu list. Press Control+Option+SPACE to deselect the File menu, and continue navigating to the next menu item "Edit".

Expected behavior (Pass/Fail)

Technical Details

VoiceOver (default) Safari 15.5 (17613.2.7.1.8) MacBook Pro/ macOS Monterey 12.4