Bug 270943
Summary: | AX: aria-describedby with role="alert" not announced on text input | ||
---|---|---|---|
Product: | WebKit | Reporter: | jeanne.waldman |
Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ahmad.saleem792, andresg_22, arodenbeck, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 17 | ||
Hardware: | All | ||
OS: | iOS 17 |
jeanne.waldman
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/124562039>
Ahmad Saleem
@Jeanne - Was this used to work in previous iOS versions?
jeanne.waldman
I do not know.
Adam Rodenbeck
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
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.