Utilize a more widely-adopted CSS method for hiding screen reader text, as seen in projects like jQuery UI and HTML5 Boilerplate. props codebykat for the initial patch. fixes #23684, #26107.

Built from https://develop.svn.wordpress.org/trunk@26602


git-svn-id: http://core.svn.wordpress.org/trunk@26492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2013-12-04 04:32:11 +00:00
parent e6dd5fbf48
commit a6fdf9cc8c
4 changed files with 10 additions and 6 deletions

View File

@ -197,11 +197,13 @@ TABLE OF CONTENTS:
.screen-reader-text span,
.ui-helper-hidden-accessible {
position: absolute;
right: -1000em;
top: -1000em;
margin: -1px;
padding: 0;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
border: 0;
}
.screen-reader-shortcut {

File diff suppressed because one or more lines are too long

View File

@ -197,11 +197,13 @@ TABLE OF CONTENTS:
.screen-reader-text span,
.ui-helper-hidden-accessible {
position: absolute;
left: -1000em;
top: -1000em;
margin: -1px;
padding: 0;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
border: 0;
}
.screen-reader-shortcut {

File diff suppressed because one or more lines are too long