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 incorrect toggleable selection #96

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 File 1 with the checkbox deselected, but the speech viewer states 'File 1 selected'..

Issue Summary

VoiceOver does not say the element is deselected as expected - it states the element is selected whether it is toggled on or off. This occurs in all the child elements. Example: when File 1 is selected, VO states “1 selected”, and when deselected it states, “File 1 selected.”

Video of issue

Example starts at 00:00:24 https://user-images.githubusercontent.com/98043076/181066936-f05b811e-d43a-48c7-92cf-d2d7fd04aee7.mp4 Example starts at 00:00:08 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 TAB again to move to "File 1". Press Control+Option+SPACE to select and deselect.

Expected behavior (Pass/Fail)

Technical Details

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