Skip To links: visually hide by only setting top: -1000em; (this should make them work well in all screen readers), fixes #21312

git-svn-id: https://develop.svn.wordpress.org/trunk@22730 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2012-11-20 21:14:49 +00:00
parent f633a3aeff
commit b254457b19
4 changed files with 13 additions and 3 deletions

View File

@@ -199,6 +199,11 @@ TABLE OF CONTENTS:
overflow: hidden;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
left: 6px;
top: -21px;