aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-12 20:39:19 +0200
committerGitHub <[email protected]>2020-11-12 20:39:19 +0200
commit03ec5342e01717ec722849d7a77c20cc291626a9 (patch)
treecb1d90cb872c19c247bbb1f0267dfb1dbecc3811
parent896e444895614538ec7b2dc689ddd051fb97b99e (diff)
downloadbootstrap-03ec5342e01717ec722849d7a77c20cc291626a9.tar.xz
bootstrap-03ec5342e01717ec722849d7a77c20cc291626a9.zip
input-group.md: fix wrong class `.visually-hidden` (#32137)
-rw-r--r--site/docs/4.5/components/input-group.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/docs/4.5/components/input-group.md b/site/docs/4.5/components/input-group.md
index 606bf4b75..1eb71e9b7 100644
--- a/site/docs/4.5/components/input-group.md
+++ b/site/docs/4.5/components/input-group.md
@@ -374,7 +374,7 @@ Ensure that all form controls have an appropriate accessible name so that their
For situations where it's not possible to include a visible `<label>` or appropriate text content, there are alternative ways of still providing an accessible name, such as:
-- `<label>` elements hidden using the `.visually-hidden` class
+- `<label>` elements hidden using the `.sr-only` class
- Pointing to an existing element that can act as a label using `aria-labelledby`
- Providing a `title` attribute
- Explicitly setting the accessible name on an element using `aria-label`