aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/css/dashboard.scss
diff options
context:
space:
mode:
authorJan C. Borchardt <hey@jancborchardt.net>2020-09-17 20:31:21 +0200
committerJan C. Borchardt <hey@jancborchardt.net>2020-09-17 20:31:21 +0200
commitcaf284dd2e6c0674265bbdcdcf6c9e53b837b33d (patch)
treee8dcdf1c02bf6c955341fa0584c0bbd1d65efc57 /apps/dashboard/css/dashboard.scss
parente14ba58b6d2fec3702e4ad1f8445ccc74d922beb (diff)
downloadnextcloud-server-caf284dd2e6c0674265bbdcdcf6c9e53b837b33d.tar.gz
nextcloud-server-caf284dd2e6c0674265bbdcdcf6c9e53b837b33d.zip
Dashboard: Fix accessibility skip links
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/dashboard/css/dashboard.scss')
-rw-r--r--apps/dashboard/css/dashboard.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/dashboard/css/dashboard.scss b/apps/dashboard/css/dashboard.scss
index c9dabc9ce46..aade857464b 100644
--- a/apps/dashboard/css/dashboard.scss
+++ b/apps/dashboard/css/dashboard.scss
@@ -1,3 +1,12 @@
+// Suppress "Skip to navigation of app" link since the app does not have a navigation
+.skip-navigation:not(.skip-content) {
+ display: none;
+}
+// Fix position of "Skip to main content" link since the other link is gone
+.skip-navigation.skip-content {
+ left: 3px;
+}
+
#header {
background: transparent !important;
--color-header: rgba(24, 24, 24, 1);