aboutsummaryrefslogtreecommitdiff
path: root/scss/mixins/_screen-reader.scss
AgeCommit message (Collapse)AuthorFilesLines
2020-07-31Cleanup/fix after the sr-only to visually-hidden renaming (#31359)Patrick H. Lauke1-28/+0
* sr-only -> visually-hidden cleanup It seems the old screen-readers.md file was left behind, and forgot to rename the mixin * Fix broken mixins for visually-hidden
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke1-3/+3
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2019-05-20`.sr-only` & `.sr-only-focusable` tweaks (#28720)Martijn Cuppens1-20/+14
* Prevent .sr-only-focusable overriding properties when being focused * Typo
2019-05-03Scrollbar fix (#28417)Martijn Cuppens1-0/+1
2018-04-02Use https when possible.XhmikosR1-1/+1
2018-02-11Update `.sr-only` mixin and utility (#25197)Mark Otto1-2/+0
* Remove clip-path from .sr-only utility as it causes perf regressions in Chrome * change snippet to example
2017-10-23Enable stylelint's `function-comma-space-after`. (#24501)XhmikosR1-1/+1
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-09-26Normalize all links. (#24109)XhmikosR1-2/+2
* use a trailing slash when possible * use https when possible * remove a few redirected links * consistently use `https://popper.js.org/` * fix `iconUrl` in nuget files * change Jekyll Windows guide to the official one
2017-03-19Update _screen-reader.scss (#22154)Gaël Poupard1-2/+5
* Update _screen-reader.scss Small improvements that could be important: * `clip` [is deprecated](https://www.w3.org/TR/css-masking-1/#clip-property). Adding `clip-path` as progressive enhancement; the shorter notation came from @ryuran 's [suggestion](https://twitter.com/ryuran78/status/778943389819604992); * [J. Renée Beach warned about single pixel with interfering with screen readers vocalisation](https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe#.vcd5xlpgg) solved with `white-space`. See [the detailed post on Hugo Giraudel's blog](http://hugogiraudel.com/2016/10/13/css-hide-and-seek/). Also kinda related to issue #20732 :) Please let me know if you find any trouble with this technique. Thanks a lot! * Reorder declarations To pass Hound. Didn't think `clip` and `clip-path` would be considered as unrelated… * Trailing spaces * Last trailing space? * Remove margin: -1px
2016-10-03Fix broken/redirected links, moving to HTTPS where possible. (#20557)Bardi Harborow1-1/+1
2016-04-18remove unnecessary `/` in reference urlRplus1-1/+1
2015-03-30Fixes #13583: Move .sr-only and .sr-only-focusable to mixins, then use them ↵Mark Otto1-0/+32
to create classes in _utilities.scss