[wp-trac] [WordPress Trac] #47111: Dynamically added notifications need ARIA role alert or status
WordPress Trac
noreply at wordpress.org
Fri Jun 21 18:16:06 UTC 2024
#47111: Dynamically added notifications need ARIA role alert or status
-----------------------------------------------+---------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.6
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-testing-info commit | Focuses: ui,
| accessibility
-----------------------------------------------+---------------------------
Changes (by joedolson):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"58455" 58455]:
{{{
#!CommitTicketReference repository="" revision="58455"
Administration: A11y: Add `role="alert"` on JS injected admin notices.
Add the attribute `role="alert"` on 12 instances of admin notices that are
injected into the DOM using JavaScript. The `role="alert"` attribute
allows screen readers to recognize the addition to the DOM and announce
the errors to users.
Props afercia, cyrus11, rcreators, joedolson.
Fixes #47111.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47111#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list