summaryrefslogtreecommitdiff
path: root/sass/app.scss
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-07-30 14:16:58 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-07-30 14:16:58 +0200
commit7eb656dd0a461f2782e601753ee96736b7ef0d3c (patch)
tree26118f86d0372c9a34b9636cd4c31a7492bc0e01 /sass/app.scss
parent44c35c7aadb4c7992c484053a6f4ddb4368bcb2e (diff)
do not mis-use aria-label; use aria-hidden and CSS content clipping instead
Diffstat (limited to 'sass/app.scss')
-rw-r--r--sass/app.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/sass/app.scss b/sass/app.scss
index 5d8be86..f6f3128 100644
--- a/sass/app.scss
+++ b/sass/app.scss
@@ -18,6 +18,16 @@ a {
text-decoration: none;
}
+.visually-hidden {
+ clip: rect(0 0 0 0);
+ clip-path: inset(50%);
+ height: 1px;
+ overflow: hidden;
+ position: absolute;
+ white-space: nowrap;
+ width: 1px;
+}
+
p,
div.about,
div.input-field,