[wp-trac] [WordPress Trac] #50442: Add prefixes to all admin notices (Warning, Error, Success, Info)
WordPress Trac
noreply at wordpress.org
Tue Sep 17 03:54:59 UTC 2024
#50442: Add prefixes to all admin notices (Warning, Error, Success, Info)
-------------------------------------+-------------------------------------
Reporter: kebbet | Owner: joedolson
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.7
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: needs-design needs- | Focuses: ui, accessibility, ui-
patch early | copy
-------------------------------------+-------------------------------------
Comment (by joedolson):
Thanks, @alexstine! To me, that code is excessively fragile, since there
are other ways that an error might be clear; and it's even possible that a
string could start with 'Error' without being an error message. I think
that we're generally agreed, however, that what this needs is an icon with
screen reader text to provide context; and given that the worst case
scenario is a single word duplication, I'm not sure that it's super
crucial to manage the screen reader text automatically.
With an agreed on design, I think this could move forward quite quickly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50442#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list