mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
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:
parent
e6dd5fbf48
commit
a6fdf9cc8c
@ -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 {
|
||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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 {
|
||||
|
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user