[wp-trac] [WordPress Trac] #40428: Introduce best practices to hide CSS generated content from assistive technologies
WordPress Trac
noreply at wordpress.org
Sun Sep 28 23:39:13 UTC 2025
#40428: Introduce best practices to hide CSS generated content from assistive
technologies
----------------------------------------+--------------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: a11y-task has-patch commit | Focuses: ui, accessibility
----------------------------------------+--------------------------------
Changes (by joedolson):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"60806" 60806]:
{{{
#!CommitTicketReference repository="" revision="60806"
A11y: Ensure icons are not spoken by screen readers.
For all CSS generated icons across core, either add `aria-hidden="true"`
to the HTML wrapper or set the generated content alternative to an empty
string in the CSS using the alternative text specification for CSS
generated content.
Props afercia, joedolson, cheffheid, jhabdas.
Fixes #40428.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40428#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list