summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorMichael Manfre2022-12-07 11:12:43 -0500
committerGitHub2022-12-07 09:12:43 -0700
commit25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844 (patch)
treed33ed6a8a1d06c42dc197ab43f9beccf8f43e89f /static
parent7413dab0520b68bfb7d96805b44cc3e384113aec (diff)
downloadtakahe-25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844.tar.gz
takahe-25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844.tar.bz2
takahe-25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844.zip
Keyboard navigation
Diffstat (limited to 'static')
-rw-r--r--static/css/style.css19
1 files changed, 19 insertions, 0 deletions
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;
+}