From 14e49f54a6442074f5598527cfed90fae921d14c Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 4 Oct 2023 13:35:07 +0200 Subject: [PATCH] feat: add sr-only --- scss/utils/_a11y.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scss/utils/_a11y.scss b/scss/utils/_a11y.scss index 3c02746..66eb7aa 100644 --- a/scss/utils/_a11y.scss +++ b/scss/utils/_a11y.scss @@ -2,9 +2,11 @@ * Some classes to help accessibility **/ -.screen-reader-text { +.screen-reader-text, .sr-only { visibility: collapse; font-size:0; + position:absolute; + top:-2000px; } .skip {