[go: up one dir, main page]

AX: VoiceOver skips button when SVG has no img role
https://bugs.webkit.org/show_bug.cgi?id=240656
Summary AX: VoiceOver skips button when SVG has no img role
Stephen Tang
Reported 2022-05-19 08:44:06 PDT
When a button has a SVG image within without role img, VoiceOver on MacOS do not include the button in the reading order (using Arrow keys). The button can only be focused using Tab key. In order to resolve this, the SVG needs to be given a role img. <button aria-label="test label"> <svg focusable="false" aria-hidden="true" role="img">...</svg> </button> Otherwise, the button can only be focused using Tab key and not when reading the page using Arrow keys.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-05-19 08:44:13 PDT
Note You need to log in before you can comment on or make changes to this bug.