]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
input-group.md: fix wrong class `.visually-hidden` (#32137)
authorXhmikosR <xhmikosr@gmail.com>
Thu, 12 Nov 2020 18:39:19 +0000 (20:39 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Nov 2020 18:39:19 +0000 (20:39 +0200)
site/docs/4.5/components/input-group.md

index 606bf4b75222e951f49b9bc69c6a1b7f444cbf38..1eb71e9b7076b1e8f8bbde6e091c5a5e9c5e77fb 100644 (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:
 
-- `<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`