NEW 236291
AX: SVG with role=tree: aria-label dropped on iOS
https://bugs.webkit.org/show_bug.cgi?id=236291
Summary AX: SVG with role=tree: aria-label dropped on iOS
Peter Krautzberger
Reported 2022-02-08 02:02:53 PST
Minimal test case: https://codepen.io/pkra/pen/abVpaBr On VoiceOver (iOS 15.3), using read-all (two-finger swipe up) or by item (swipe right/left), VO voices "image" (i.e., wrong role and missing accessible name). It seems like Safari is not exposing the SVG's role and name correctly. For comparison, the test case includes wrapping the SVG in a span and using the span as a tree root; this gives the same result in read-all ("image") but by item VO voices "circular tree, image, tree start" (which is a different kind of weird but looks more like a VO issue). On MacOS Safari 15.3 the SVG is treated as a tree and its name is read correctly by VO. (Similarly on other OSs / ATs)
Attachments
Radar WebKit Bug Importer
Comment 1 2022-02-08 02:03:05 PST
Peter Krautzberger
Comment 2 2022-02-08 02:07:25 PST
FWIW, I'm quite certain this used to work - but I don't have any devices with older iOS / Safari versions around.
Note You need to log in before you can comment on or make changes to this bug.