NEW 270943
AX: aria-describedby with role="alert" not announced on text input
https://bugs.webkit.org/show_bug.cgi?id=270943
Summary AX: aria-describedby with role="alert" not announced on text input
jeanne.waldman
Reported 2024-03-13 16:41:55 PDT
On an iphone with voiceover on, if I tap on the input with aria-describedby pointing to a div with role="alert" and aria-atomic="true", the message is not read. this is the bug. <input aria-describedby="errormsgid"/> <div id="errormsgid" role="alert" aria-atomic="true"> Error message, this is not read </div> <br/> <input aria-describedby="othererror"/> <div id="othererror" aria-live="polite"> Hi miss polite, this is read. </div> If I tap on the other input pointing to a div with aria-live="polite" it is read. If I tap on an input pointing to a div with aria-live="assertive" it is read.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-03-13 16:42:05 PDT
Ahmad Saleem
Comment 2 2024-04-08 03:57:34 PDT
@Jeanne - Was this used to work in previous iOS versions?
jeanne.waldman
Comment 3 2024-06-27 14:28:21 PDT
I do not know.
Adam Rodenbeck
Comment 4 2024-08-26 12:12:06 PDT
I am experiencing this same bug on MacOS 14.6.1 running Safari 17.6. Please see https://codepen.io/kwatts999/pen/QWzxOxo. When I changed the role="alert" to aria-live="polite" the aria-describedby worked fine.
Adam Rodenbeck
Comment 5 2024-08-26 12:15:44 PDT
I also tried changing the role="alert" to role="status" with no luck. Using either aria-live="polite" or aria-live="assertive" both seemed to work fine.
Note You need to log in before you can comment on or make changes to this bug.