Skip to content

Commit

Permalink
Fix Bug: .visuallyhidden on macOS VO (#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 Aug 12, 2017
1 parent d222205 commit 7bff68f
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 7bff68f

Please sign in to comment.