Accessibility: fix the Skip to content link, show it on :focus, improve the styling of the skip links when shown, see #21310, see #21471
git-svn-id: http://core.svn.wordpress.org/trunk@21435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -198,6 +198,20 @@ TABLE OF CONTENTS:
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
left: 5px;
|
||||
top: 5px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
display: block;
|
||||
padding: 10px 15px;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
border: 2px solid #333;
|
||||
border-radius: 3px;
|
||||
z-index: 100000;
|
||||
}
|
||||
|
||||
.hidden,
|
||||
.js .closed .inside,
|
||||
.js .hide-if-js,
|
||||
|
||||
Reference in New Issue
Block a user