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: https://develop.svn.wordpress.org/trunk@21435 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2012-08-05 21:37:57 +00:00
parent 496e7275b1
commit d3a4604335
4 changed files with 21 additions and 10 deletions

View File

@@ -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,