mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Twenty Eleven and Twelve: fill in support for screen-reader-text class.
Props obenland, fixes #31095. git-svn-id: https://develop.svn.wordpress.org/trunk@31268 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2487709643
commit
6629feb738
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user