Skip to content

Commit 465e919

Browse files
authored
Merge pull request #16154 from nextcloud/fix/noid/accessibility-focusable-viewtoggle
Make possible to focus grid/list view toggle via keyboard
2 parents d14aed1 + cbc3862 commit 465e919

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

apps/files/css/files.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,9 +1080,15 @@ table.dragshadow td.size {
10801080
opacity: 1;
10811081
}
10821082
}
1083-
/* Make sure the hidden input is not rendered at all to avoid scrolling to top */
1083+
1084+
/**
1085+
* Make sure the hidden input is always
1086+
* on the visible scrolled area of the
1087+
* page to avoid scrolling to top when focusing
1088+
*/
10841089
#showgridview {
1085-
display: none;
1090+
position: fixed;
1091+
top: 0;
10861092
}
10871093

10881094
/* Adjustments for link share page */

0 commit comments

Comments
 (0)