Skip to content

Instantly share code, notes, and snippets.

@gillkyle
Last active August 15, 2019 15:06
Show Gist options
  • Save gillkyle/e6ac8de63284da48297692960c9b9851 to your computer and use it in GitHub Desktop.
Save gillkyle/e6ac8de63284da48297692960c9b9851 to your computer and use it in GitHub Desktop.
/* removes content from page layout but keeps information available to accessibility APIs */
.visually-hidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment