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 does not recognize button elements #67

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 VoiceOver in test environment. A blue circle is highlighting Text Viewer text that reads '7  You are currently on a text element'.

Issue Summary

VoiceOver does not recognize toggleable elements on SVG or HTML as expected. It only recognizes the “3 Text” as a toggle button in SVG, but VoiceOver still reads what should be labels of the element as text (3 before the button and text after.) This could be related to #65 and #66 issues.

Video of issue

Example starts at 00:00:21 and 00:00:39 https://user-images.githubusercontent.com/98043076/161101206-0c294fa7-fa83-40ab-bcc3-42e1db6c43d2.mp4

Steps to reproduce

Starting at the "Interactions Instructions" heading: Use VoiceOver down arrow key to navigate into the SVG space. Press the down arrow key 10 times to reach the "3 Text toggleable button."

Expected behavior (Pass/Fail)

Technical Details

VoiceOver (Default) Safari 15.1 (17612.2.9.1.20) MacBook Pro/ macOS Monterey 12.0.1