fizzstudio / svg-aria-test

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

NVDA+Chrome "button" focus indicator incorrect binding dimensions #58

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 square is highlighting a rectangle and circle shape on screen, while the screen reader focus indicator is highlighting only the rectangle in a red square.

Issue Summary

NVDA focus indicator does not appear around parent group elements or child group elements as expected for SVG or HTML. As an example, the focus indicator bounding dimensions for "Rect and Circle group" should be around both the Rect and circle elements, but NVDA is only binding around the rect element. This is most likely connected to the others issues found in testing.

Video of issue

SVG Examples starts at 00:00:16 https://user-images.githubusercontent.com/98043076/160892673-1373c856-e6db-41e9-9048-4f8952eefdba.mp4 HTML Examples start at 00:00:11 https://user-images.githubusercontent.com/98043076/160892652-62384ef1-3325-4058-afcd-7bcd33fc0984.mp4

Steps to reproduce

Starting at the "Interactions Instructions" heading: Use NVDA down arrow key to navigate into the SVG space. Continue to press the down arrow key to navigate through all webpage elements.

Expected behavior (Pass/Fail)

Technical Details

NVDA 2021.3.4 Chrome Version 98.0.4758.102 Windows 11 Build 22000.556