1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 00:39:54 +00:00
Gaël Poupard 2085c14267 Update _screen-reader.scss (#22154)
* 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
2017-03-19 16:05:45 -07:00
..
2017-03-05 16:05:12 -06:00
2017-01-23 22:15:28 -08:00
2016-12-25 15:32:34 -08:00
2017-01-23 22:15:28 -08:00
2017-03-05 12:20:44 -08:00
2017-03-18 16:30:12 -07:00
2016-12-25 15:28:44 -08:00
2016-12-28 15:13:43 -08:00
2017-01-03 19:31:27 -08:00
2017-01-21 12:32:38 -08:00
2016-12-07 21:20:15 -07:00
2017-03-05 12:20:44 -08:00
2017-01-02 11:45:30 -08:00
2017-03-05 16:05:12 -06:00