[wp-trac] [WordPress Trac] #37513: Admin bar sub menu items dashicon and screen readers
WordPress Trac
noreply at wordpress.org
Fri Oct 14 23:10:13 UTC 2016
#37513: Admin bar sub menu items dashicon and screen readers
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7
Component: Toolbar | Version:
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses: ui,
testing | accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):
* keywords: has-screenshots => has-screenshots has-patch needs-testing
Comment:
The only, reliable, way to hide CSS generated content from screen readers
is to wrap it in an element with `aria-hidden="true"`. The proposed patch
uses a `<span>` element for this, which isn't particularly elegant because
it gets printed out for all the menu parent items. Seems it doesn't harm
anything though.
Any feedback welcome and some testing, especially in IE and Edge, would be
nice.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37513#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list