mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +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:
|
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`
|
- Pointing to an existing element that can act as a label using `aria-labelledby`
|
||||||
- Providing a `title` attribute
|
- Providing a `title` attribute
|
||||||
- Explicitly setting the accessible name on an element using `aria-label`
|
- Explicitly setting the accessible name on an element using `aria-label`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user