fizzstudio / svg-aria-test

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

NVDA+Firefox SVG "keyboard trap" #87

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 done by a sighted user 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 NVDA in a menu test environment. The focus indicator is highlighting Help 4 sub-menu checkbox

Issue Summary

NVDA has a potential keyboard trap after the “Help” menu element. The user cannot continue navigating forward through content with the arrow keys. The arrow keys instead “scroll.” The user must press TAB to continue navigating down through the page. Doing so takes them to the HTML example menu buttons and does not read the text before it. (The end of the video shows me trying to continue navigating and experimenting with keys, but I cannot.) This could be due to NVDA’s automatic mode switching.

Video of issue

Example starts at 00:01:01 https://user-images.githubusercontent.com/98043076/180841640-2a24ee00-99f9-4c72-a934-dce00062e55b.mp4

Steps to reproduce

Starting at the "Interactions Instructions" heading: Use NVDA down arrow key to navigate into the SVG space using TAB. After reaching the last "Help" menu option, press the down arrow key to continue navigation.

Expected behavior (Pass/Fail)

Technical Details

NVDA 2022.1 (default) Firefox 102.0.1 Windows 11 Build 22000.795