Skip to content

Instantly share code, notes, and snippets.

@PurpleHippoDesign
Last active January 10, 2016 15:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PurpleHippoDesign/5134bfd4b4332dce7915 to your computer and use it in GitHub Desktop.
Save PurpleHippoDesign/5134bfd4b4332dce7915 to your computer and use it in GitHub Desktop.
CSS to hide anchor text for accessibility
a span.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment