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: http://core.svn.wordpress.org/trunk@22730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2012-11-20 21:14:49 +00:00
parent 4d00db15b4
commit 769e1236af
4 changed files with 13 additions and 3 deletions

View File

@@ -625,6 +625,11 @@
overflow: hidden;
}
#wpadminbar .screen-reader-shortcut {
position: absolute;
top: -1000em;
}
#wpadminbar .screen-reader-shortcut:focus {
left: 6px;
top: 7px;