Accessibility: Improve the "skip links" position for medium and small screens.

Fixes #47065.

Built from https://develop.svn.wordpress.org/trunk@45301


git-svn-id: http://core.svn.wordpress.org/trunk@45110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2019-05-09 21:12:02 +00:00
parent 9cc696fbce
commit 1b3b04f354
5 changed files with 19 additions and 3 deletions

View File

@ -3686,6 +3686,10 @@ img {
padding-top: 46px; padding-top: 46px;
} }
.screen-reader-shortcut:focus {
top: -39px;
}
body { body {
min-width: 240px; min-width: 240px;
overflow-x: hidden; overflow-x: hidden;
@ -3982,6 +3986,10 @@ img {
padding-top: 0; padding-top: 0;
} }
.screen-reader-shortcut:focus {
top: 7px;
}
#wpbody { #wpbody {
padding-top: 46px; padding-top: 46px;
} }

File diff suppressed because one or more lines are too long

View File

@ -3686,6 +3686,10 @@ img {
padding-top: 46px; padding-top: 46px;
} }
.screen-reader-shortcut:focus {
top: -39px;
}
body { body {
min-width: 240px; min-width: 240px;
overflow-x: hidden; overflow-x: hidden;
@ -3982,6 +3986,10 @@ img {
padding-top: 0; padding-top: 0;
} }
.screen-reader-shortcut:focus {
top: 7px;
}
#wpbody { #wpbody {
padding-top: 46px; padding-top: 46px;
} }

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-alpha-45300'; $wp_version = '5.3-alpha-45301';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.