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

Merges [45301] to the 5.2 branch.

Props afercia.
Fixes #47065.
Built from https://develop.svn.wordpress.org/branches/5.2@45333


git-svn-id: http://core.svn.wordpress.org/branches/5.2@45144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2019-05-17 00:42:54 +00:00
parent 608c219a7d
commit 9bb8bd243e
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.2.1-alpha-45332'; $wp_version = '5.2.1-alpha-45333';
/** /**
* 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.