diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-11-12 21:39:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 21:39:19 +0300 |
commit | 03ec5342e01717ec722849d7a77c20cc291626a9 (patch) | |
tree | cb1d90cb872c19c247bbb1f0267dfb1dbecc3811 | |
parent | 896e444895614538ec7b2dc689ddd051fb97b99e (diff) |
input-group.md: fix wrong class `.visually-hidden` (#32137)
-rw-r--r-- | site/docs/4.5/components/input-group.md | 2 |
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` |