From 25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Wed, 7 Dec 2022 11:12:43 -0500 Subject: Keyboard navigation --- static/css/style.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'static/css') diff --git a/static/css/style.css b/static/css/style.css index 1f9220f..430ab2a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1149,3 +1149,22 @@ table.metadata td.name { color: var(--color-highlight); transition: 0.2s; } + + +/* Accessibility */ +.screenreader-text { + position: absolute; + left: -999px; + width: 1px; + height: 1px; + top: auto; +} + +.screenreader-text:focus { + color: black; + display: inline-block; + height: auto; + width: auto; + position: static; + margin: auto; +} -- cgit v1.2.3