[wp-trac] [WordPress Trac] #51012: Menu dashicons should be hidden from assistive technology
WordPress Trac
noreply at wordpress.org
Wed Sep 9 16:13:32 UTC 2020
#51012: Menu dashicons should be hidden from assistive technology
-------------------------------------+-------------------------------------
Reporter: joedolson | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has- | Focuses: accessibility,
patch commit | administration
-------------------------------------+-------------------------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"48963" 48963]:
{{{
#!CommitTicketReference repository="" revision="48963"
Administration: Add the `aria-hidden` attribute to admin menu icons.
The admin menu icons are included as a visual element to support the text
links. Without the `aria-hidden=“true”` attribute, they are also exposed
to assistive technologies (which can process icon fonts in unpredictable
ways).
This change improves the experience for multiple types of assistive
technologies, including screen reading and voice control software. With
`aria-hidden=“true”` added, the icons will not be read, and a user can now
trigger a click of a top level admin menu item with commands such as
“click posts”, or “click plugins”.
Props joedolson, afercia, audrasjb, adriantirusli.
Fixes #51012.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51012#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list