-
-
Save davidhund/fddb4798c3c3a5d11f5092372818cbef to your computer and use it in GitHub Desktop.
TODO: investigate the margin: -1px;
one occasionally sees: https://github.com/h5bp/html5-boilerplate/blob/v4.3.0/css/main.css#L156
It was nowhere and suddenly appeared in H5BP.
Then picked up by others such as Drupal, Bootstrap..
E.g.
https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
https://www.drupal.org/node/766444
http://webaim.org/techniques/css/invisiblecontent/
http://adaptivethemes.com/using-css-clip-as-an-accessible-method-of-hiding-content
http://a11yproject.com/posts/how-to-hide-content/
Then it appeared:
h5bp/html5-boilerplate#194 (comment)
https://www.drupal.org/node/1057912#comment-4202618
https://www.drupal.org/node/1328970
https://www.drupal.org/node/718922
https://github.com/twbs/bootstrap/blob/v4-dev/scss/mixins/_screen-reader.scss#L10
Updated based on info from: http://hugogiraudel.com/2016/10/13/css-hide-and-seek/ and https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe#.kwz0kaoqu