From 18bc59f2f93e9fd3fe4ade71745a153aaab768dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benny=20Powers=20-=20=D7=A2=D7=9D=20=D7=99=D7=A9=D7=A8?= =?UTF-8?q?=D7=90=D7=9C=20=D7=97=D7=99!?= Date: Sat, 7 Sep 2024 21:09:11 +0300 Subject: [PATCH] docs: visually hidden class (#1803) docs: visually hidden classs Co-authored-by: Steven Spriggs --- docs/styles/styles.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/styles/styles.css b/docs/styles/styles.css index 75fed8204d..234d93776f 100644 --- a/docs/styles/styles.css +++ b/docs/styles/styles.css @@ -63,6 +63,16 @@ figcaption { color: var(--rh-color-text-secondary-on-light); } + + .visually-hidden { + position: fixed; + top: 0; + left: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; + } } @layer layout {