Last active
August 30, 2024 17:03
-
-
Save davidhund/fddb4798c3c3a5d11f5092372818cbef to your computer and use it in GitHub Desktop.
Hide visually, show for AT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TODO: investigate the
margin: -1px;
one occasionally sees: https://github.com/h5bp/html5-boilerplate/blob/v4.3.0/css/main.css#L156It 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