From 0ae2ae3a8f40c3189838edad748a09afb609cf70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 28 Mar 2020 20:09:12 +0100 Subject: [PATCH] a11y: use a list for skip navigation links (#40927) --- static/includes/_a11y.scss | 5 +++++ templates/theme.html | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/static/includes/_a11y.scss b/static/includes/_a11y.scss index 748b6dd4..e5ca5c9d 100644 --- a/static/includes/_a11y.scss +++ b/static/includes/_a11y.scss @@ -2,6 +2,11 @@ position: absolute; top: 0; width: 10em; + ul, li { + list-style: none; + margin: 0; + padding: 0; + } } #nav-skip a { diff --git a/templates/theme.html b/templates/theme.html index f7575d53..fa983dac 100644 --- a/templates/theme.html +++ b/templates/theme.html @@ -42,10 +42,10 @@