1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 21:22:52 +02:00

input-group.md: fix wrong class .visually-hidden (#32137)

This commit is contained in:
XhmikosR
2020-11-12 20:39:19 +02:00
committed by GitHub
parent 896e444895
commit 03ec5342e0

View File

@@ -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`