Last active
September 30, 2015 05:27
-
-
Save alienlebarge/1728992 to your computer and use it in GitHub Desktop.
CSS hidden style compliant with screen readers. Hide for screen but not for screen reader.
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
.hidden-well-sighted { | |
position: absolute !important; | |
overflow: hidden; | |
width: 1px; | |
height: 1px; | |
padding: 0; | |
border: 0; | |
clip: rect(1px, 1px, 1px, 1px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some screen reader can skip a tag with a
display:none;
style.