Skip to content

Commit

Permalink
input-group.md: fix wrong class .visually-hidden (#32137)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 12, 2020
1 parent 896e444 commit 03ec534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/4.5/components/input-group.md
Expand Up @@ -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`
Expand Down

0 comments on commit 03ec534

Please sign in to comment.