[wp-trac] [WordPress Trac] #51012: Menu dashicons should be hidden from assistive technology
WordPress Trac
noreply at wordpress.org
Sat Aug 15 00:02:54 UTC 2020
#51012: Menu dashicons should be hidden from assistive technology
-------------------------------------------+----------------------------
Reporter: joedolson | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Keywords: good-first-bug
Focuses: accessibility, administration |
-------------------------------------------+----------------------------
In the admin menu, images are added to support text links via icon fonts.
Each icon font is contained inside a div within the link.
The container div elements that the icon fonts are attached to should use
the attribute `aria-hidden="true"` so that they will not be exposed to
assistive technology. The reading of icon fonts can be unpredictable in
screen readers.
Using `aria-hidden="true"` in this context is semantically equivalent to
defining an empty alt attribute.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51012>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list