mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
input-group.md: fix wrong class .visually-hidden
(#32137)
This commit is contained in:
parent
896e444895
commit
03ec5342e0
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user