[wp-trac] [WordPress Trac] #16527: Accessibility Improvement to category-template.php
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 6 02:33:57 UTC 2011
#16527: Accessibility Improvement to category-template.php
-------------------------+------------------------------
Reporter: wpsmith | Owner: wpsmith
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by dd32):
> To provide "hidden" content for users of assistive technologies,
position the content offscreen.
For the record, that's what Nacin was referring to above. The class
'screen-reader-text' positions the element off screen so that it's still
readable by screen readers.
{{{
/* Hide visually but not from screen readers */
.screen-reader-text,
.screen-reader-text span {
position: absolute;
left: -1000em;
height: 1px;
width: 1px;
overflow: hidden;
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16527#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list