From 7eb656dd0a461f2782e601753ee96736b7ef0d3c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 30 Jul 2021 14:16:58 +0200 Subject: do not mis-use aria-label; use aria-hidden and CSS content clipping instead --- sass/app.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sass') 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, -- cgit v1.2.3