mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Twenty Eleven and Twelve: fill in support for screen-reader-text
class.
Props obenland, fixes #31095. Built from https://develop.svn.wordpress.org/trunk@31268 git-svn-id: http://core.svn.wordpress.org/trunk@31249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
87279ec9ea
commit
3982471a5c
@ -493,12 +493,16 @@ a:hover {
|
||||
}
|
||||
|
||||
/* Assistive text */
|
||||
.assistive-text {
|
||||
.assistive-text,
|
||||
.screen-reader-text {
|
||||
position: absolute !important;
|
||||
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
}
|
||||
#access a.assistive-text:focus {
|
||||
#access a.assistive-text:focus,
|
||||
.screen-reader-text:hover,
|
||||
.screen-reader-text:active,
|
||||
.screen-reader-text:focus {
|
||||
background: #eee;
|
||||
border-bottom: 1px solid #ddd;
|
||||
color: #1982d1;
|
||||
|
@ -507,7 +507,10 @@ a:hover {
|
||||
position: absolute !important;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
}
|
||||
.main-navigation .assistive-text:focus {
|
||||
.main-navigation .assistive-text:focus,
|
||||
.site .screen-reader-text:hover,
|
||||
.site .screen-reader-text:active,
|
||||
.site .screen-reader-text:focus {
|
||||
background: #fff;
|
||||
border: 2px solid #333;
|
||||
border-radius: 3px;
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31267';
|
||||
$wp_version = '4.2-alpha-31268';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user