Skip to content

Commit

Permalink
Merge pull request #49 from WordPress/update/screen-reader-text-css
Browse files Browse the repository at this point in the history
Update screen-reader-text CSS
  • Loading branch information
omarreiss authored Nov 28, 2017
2 parents 8e6bfcf + 2c9059b commit 058ca22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/a11y/src/addContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ const addContainer = function( ariaLive ) {
'height: 1px;' +
'width: 1px;' +
'overflow: hidden;' +
'clip: rect( 0 0 0 0 );' +
'clip: rect(1px, 1px, 1px, 1px);' +
'-webkit-clip-path: inset(50%);' +
'clip-path: inset(50%);' +
'border: 0;' +
'word-wrap: normal !important;'
) );
Expand Down

0 comments on commit 058ca22

Please sign in to comment.