[wp-trac] [WordPress Trac] #61480: Comment reply admin notices not announced by screen readers
WordPress Trac
noreply at wordpress.org
Mon Aug 19 22:32:22 UTC 2024
#61480: Comment reply admin notices not announced by screen readers
-------------------------------------+----------------------------
Reporter: joedolson | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: accessibility
-------------------------------------+----------------------------
Changes (by joedolson):
* keywords: has-patch => has-patch needs-testing
Comment:
Nobody else seems to have a preference; so I'm going to go with
`role="alert"`. The argument, in my opinion, is that it keeps the behavior
associated directly with the call that sets up the HTML, but I don't
really think it matters overall.
To test:
Using a screen reader, go to Comments. Click 'Reply' on a comment. Click
the 'Reply' button primary to submit a blank comment. This will spawn an
admin notice error.
Before patch: No announcement from the screen reader.
After patch: The error is announced by the screen reader.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61480#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list