From 3a79335a0b21cc5bbd3f133e63aec6052694fc20 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sun, 21 Jun 2020 12:07:20 +0100 Subject: 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` --- site/content/docs/5.0/forms/layout.md | 2 +- site/content/docs/5.0/helpers/visually-hidden.md | 25 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 site/content/docs/5.0/helpers/visually-hidden.md (limited to 'site/content/docs') diff --git a/site/content/docs/5.0/forms/layout.md b/site/content/docs/5.0/forms/layout.md index a97a7e9e5..3a4d0e7fa 100644 --- a/site/content/docs/5.0/forms/layout.md +++ b/site/content/docs/5.0/forms/layout.md @@ -297,7 +297,7 @@ You can then remix that once again with size-specific column classes. Use the `.col-auto` class to create horizontal layouts. By adding [gutter modifier classes]({{< docsref "/layout/gutters" >}}), we'll have gutters in horizontal and vertical directions. The `.align-items-center` aligns the form elements to the middle, making the `.form-checkbox` align properly. -Be sure to always include a `