Skip to content

Commit

Permalink
Fix Bug: .visuallyhidden on macOS VO (h5bp#1986)
Browse files Browse the repository at this point in the history
This PR solves [issue 1985: macOS - VoiceOver / Chrome announcing visually hidden text out of order](https://github.com/h5bp/html5-boilerplate/issues/1985)

By removing the negative margin, and setting it to `margin: 0;`, the issue is resolved.
  • Loading branch information
scottaohara authored and roblarsen committed Sep 25, 2017
1 parent 0d7fb21 commit 2c336eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ textarea {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
margin: -1px;
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
Expand Down

0 comments on commit 2c336eb

Please sign in to comment.