Skip to content

Instantly share code, notes, and snippets.

@trishasalas
Created March 27, 2017 16:24
Show Gist options
  • Save trishasalas/36ed95194745b1490b6d29aebc2f3d3e to your computer and use it in GitHub Desktop.
Save trishasalas/36ed95194745b1490b6d29aebc2f3d3e to your computer and use it in GitHub Desktop.
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}
@trishasalas
Copy link
Author

There is an existing PR for this in the twenty seventeen theme. This will update the theme screen reader text to match what's in core. 3-27-2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment