NVDA reads the first three elements when navigating to the starting graphic element. It should be one parent group with two child groupings. The "html example" section's parent group also does not work.
Use NVDA down arrow key once to navigate into the SVG space.
Expected behavior (Pass/Fail)
FAIL We expect that a screen reader (SR) can navigate to each element with a role and aria-label using a keyboard (SVG, g, and all SVG primitives).
FAIL We expect that the visual focus indicator moves to the correct element and has the correct bounding dimensions.
FAIL We expect that the visual focus indicator will remain in view at all times and may even adjust the scroll position of the page while navigating.
FAIL The SVG is labelled by the chart's title and subtitle (these should be read as a single text when navigating to the root element).
FAIL The title and subtitle are hidden from a screen reader because they are announced on their parent element instead. These elements should not be read out loud.
FAIL The elements are grouped in pairs. The screen reader should be able to separately navigate to the group before navigating to each pair.
FAIL Each primitive (rect, circle, path, text) should be accessible by a screen reader and read the number and label for that element.
FAIL We expect that a SR will announce the aria-label correctly for each element, followed by its role.
FAIL The aria label should announce the number, followed by the type of primitive (eg "7 Rect"), even though the text may be displayed visually in a different order. This is designed intentionally to ensure that the ARIA is working correctly.
FAIL We expect that different SVG primitives (rect, circle, path, text) will be consistent with each other based on previous expectations.
FAIL We expect that the SVG elements will provide the same experience as the HTML elements (below the SVG space).
??? We expect that if the main roles are not used, the fallback roles will be (if they are enabled). We are not sure how to design for this initially, but are mentioning it as important.
Technical Details
NVDA 2021.3.1 (Default)
Firefox 96.0.3
Windows 11 Build 22000.438
This is an issue in reference to #24 which is related to the "primitives and graphic-document" branch.
Issue Summary
NVDA reads the first three elements when navigating to the starting graphic element. It should be one parent group with two child groupings. The "html example" section's parent group also does not work.
Video of issue
Example starts at 00:00:27 HTML example starts at 00:00:41 https://user-images.githubusercontent.com/98043076/155213447-d0965678-3f3a-474f-97d1-881800640972.mp4
Steps to reproduce
Use NVDA down arrow key once to navigate into the SVG space.
Expected behavior (Pass/Fail)
Technical Details
NVDA 2021.3.1 (Default) Firefox 96.0.3 Windows 11 Build 22000.438