Skip to content

Commit 7950bbe

Browse files
committed
Editor: A11y: Skip link hidden in editor on medium-small screens.
Adjust the position of the skip link in viewports between 600 and 782 pixels, where they were hidden due to `overflow-y: auto` in the block editor. Ensures that the skip link is visibly available for users on all viewport sizes. Props sabernhardt, narenin, audrasjb, mukesh27, joedolson, wildworks. Fixes #63084. git-svn-id: https://develop.svn.wordpress.org/trunk@59992 602fd350-edb4-49c9-b593-d223f7449a82
1 parent fe7a69c commit 7950bbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/wp-admin/css/common.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3908,6 +3908,10 @@ img {
39083908
top: -39px;
39093909
}
39103910

3911+
.block-editor-page .screen-reader-shortcut:focus {
3912+
top: 7px;
3913+
}
3914+
39113915
body {
39123916
min-width: 240px;
39133917
overflow-x: hidden;

0 commit comments

Comments
 (0)