]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Docs: rename "Screen readers" helper page to "Visually hidden"
authorPatrick H. Lauke <redux@splintered.co.uk>
Sun, 21 Jun 2020 11:07:20 +0000 (12:07 +0100)
committerMark Otto <otto@github.com>
Fri, 10 Jul 2020 23:00:50 +0000 (16:00 -0700)
commit3a79335a0b21cc5bbd3f133e63aec6052694fc20
tree9285fc2b764d7f809cb814e47bfeb607b7a5b870
parent49934b2bba514582c92bd423f94ddbf890bc3a66
Docs: rename "Screen readers" helper page to "Visually hidden"

"screen readers" is quite reductive, as there are other assistive technologies. content hidden this way is even announced by things like Alexa/Siri etc, so it's not so much just "screen readers".
in the long run, we may even consider changing the actual classnames (maybe `.visually-hidden` / `.visually-hidden-focusable`, though admittedly that's a bit verbose).

also includes a tiny tweak to layout.md to generalise the note about using `.sr-only`
scss/_helpers.scss
scss/helpers/_visually-hidden.scss [moved from scss/helpers/_screenreaders.scss with 83% similarity]
site/content/docs/5.0/forms/layout.md
site/content/docs/5.0/helpers/visually-hidden.md [new file with mode: 0644]
site/data/sidebar.yml