Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-12 21:39:19 +0300
committerGitHub <noreply@github.com>2020-11-12 21:39:19 +0300
commit03ec5342e01717ec722849d7a77c20cc291626a9 (patch)
treecb1d90cb872c19c247bbb1f0267dfb1dbecc3811
parent896e444895614538ec7b2dc689ddd051fb97b99e (diff)
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 606bf4b752..1eb71e9b70 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`