RESOLVED FIXED292212
AX: Named hidden elements are being announced with VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=292212
Summary AX: Named hidden elements are being announced with VoiceOver
hidanielle.dev
Reported 2025-04-28 12:57:52 PDT
This issue started with the latest Safari version 18.4. Hidden divs with `aria-labelledby` on them are having their names announced when accessed with the virtual cursor. The content within them is not being announced. In my case, this was noticeable on a div with `role="dialog"` since they have names, but I have created a reduced test case isolating the issue to just `hidden` and `aria-labelledby`. This was not the case in Safari 18.3 and it is also not happening on Chrome. https://codepen.io/hidanielle/full/MYYEQbQ For our use, this is quite a disruptive change.
Attachments
WIP fix (4.03 KB, patch)
2025-04-29 18:08 PDT, Tyler Wilcock
no flags
Layout test (1.28 KB, text/html)
2025-04-29 18:39 PDT, Tyler Wilcock
no flags
Radar WebKit Bug Importer
Comment 1 2025-04-28 12:57:59 PDT
Tyler Wilcock
Comment 2 2025-04-29 18:06:10 PDT
Thanks for the minimal reproduction! Started working on this and found a fix I think is right, but it causes a different test failure I need to investigate. Attaching a WIP patch for myself to come back to.
Tyler Wilcock
Comment 3 2025-04-29 18:08:09 PDT
Tyler Wilcock
Comment 4 2025-04-29 18:39:50 PDT
Created attachment 475087 [details] Layout test
Tyler Wilcock
Comment 5 2025-05-02 14:27:29 PDT
EWS
Comment 6 2025-05-02 20:54:57 PDT
Committed 294470@main (e7d986a7c77c): <https://commits.webkit.org/294470@main> Reviewed commits have been landed. Closing PR #44864 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.