Last active
December 2, 2020 15:29
-
-
Save jensgro/743c37c3c1b226f7917fa0fc0825e3c2 to your computer and use it in GitHub Desktop.
Content is only accessible for screenreaders. The white-space-line is important!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* hide only visually */ | |
.sr-only:not(:focus):not(:active) { | |
width: 1px; | |
clip: rect(0 0 0 0); | |
clip-path: inset(50%); | |
height: 1px; | |
overflow: hidden; | |
position: absolute; | |
white-space: nowrap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment