[wp-trac] [WordPress Trac] #29455: Plugin Info Modal Close Button Does Not Announce for Screen Readers
WordPress Trac
noreply at wordpress.org
Mon Sep 1 15:56:12 UTC 2014
#29455: Plugin Info Modal Close Button Does Not Announce for Screen Readers
---------------------------+-----------------------------
Reporter: davidakennedy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: trunk
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
I was testing RC 1 and this slipped by in earlier testing of the plugin
area.
The plugin info modal close button does not announce for screen readers.
This is the link with an id of `TB_closeWindowButton`.
* The link uses only icon fonts inside the , but icon fonts are not
announced by screen readers.
* The title attribute may be intended for screen readers, but it's not
announced by default by screen readers either, and it's really only useful
for users with a mouse. See this post for more info on the title
attribute: http://www.paciellogroup.com/blog/2013/01/using-the-html-title-
attribute-updated/
* When a screen reader announces these links, it says: "Link", which isn't
descriptive and doesn't tell the user what the link does or where it goes.
Suggested fix:
The text "Close" can be added with a class of screen-reader-text.
* Links should always have link text.
* The screen-reader-text would be hidden off-screen, maintaining the
design of the close link.
This would have it announce in screen readers. And be an easy fix. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29455>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list