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 reads all SVG element text #61

Open shelbyelavsky opened 2 years ago

shelbyelavsky commented 2 years ago

This is an issue in reference to #23 which is related to the "primitives and nested role=button" branch.

Screenshot of NVDA in test environment. A blue circle is highlighting Text Viewer text that reads 'Interactive SVG Interface Select One to Load Data Fragments  region    Rect and Circle  grouping    toggle button  not pressed    5 Rect  toggle button  not pressed    7 Circle  out of grouping  Path and Text  grouping    toggle button  not pressed    1 Path  toggle button  not pressed    3 Text  out of grouping  When elements are selected, content will be rendered below'.

Issue Summary

NVDA reads all SVG elements when navigating to the first element: the parent group, both child groups and their individual elements, and a sentence of text outside of the SVG space in one key press. The user is not able to drill in to navigate the other elements individually (rect, circle, path, text). We would expect 7 navigable elements.

Video of issue

Example starts at 00:00:20 https://user-images.githubusercontent.com/98043076/160902176-489f09af-32fb-4cf7-b75e-b61945fe302e.mp4

Steps to reproduce

Starting at the "Interactions Instructions" heading: Use NVDA down arrow key to navigate into the SVG space. Press the down arrow key once. There is only one step (we would expect at least 7 separate elements to navigate.)

Expected behavior (Pass/Fail)

Technical Details

NVDA 2021.3.4 Firefox 98.0.2 Windows 11 Build 22000.556