Skip to content

Commit

Permalink
1985 - fix VoiceOver reading order bug with visually hidden text - re…
Browse files Browse the repository at this point in the history
…move clip and absolute positioning - add inline-block (h5bp#1989)
  • Loading branch information
Joe Watkins authored and roblarsen committed Sep 25, 2017
1 parent 2c336eb commit 9b16364
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,12 @@ textarea {

.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
clip-path: inset(50%);
display: inline-block;
height: 1px;
margin: 0;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
white-space: nowrap; /* 1 */
}
Expand Down

0 comments on commit 9b16364

Please sign in to comment.