This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Reset `word-wrap` for `screen-reader-text`

* Ensure screen reader text is read as words and not affected by word-wrap.

Resolves #235
See: https://core.trac.wordpress.org/changeset/32509
  • Loading branch information...
davidakennedy committed Sep 21, 2015
1 parent 16b9ffb commit 4a7578c6aa5490abcbfa7e1bfa201176b27a95f0
Showing with 2 additions and 0 deletions.
  1. +2 −0 style.css
View
@@ -1239,6 +1239,8 @@ a:active {
overflow: hidden;
position: absolute !important;
width: 1px;
+ /* many screen reader and browser combinations announce broken words as they would appear visually */
+ word-wrap: normal !important;
}
/* must have higher specificity than alternative color schemes inline styles */

0 comments on commit 4a7578c

Please sign in to comment.