From 03ec5342e01717ec722849d7a77c20cc291626a9 Mon Sep 17 00:00:00 2001 From: XhmikosR <xhmikosr@gmail.com> Date: Thu, 12 Nov 2020 20:39:19 +0200 Subject: [PATCH] input-group.md: fix wrong class `.visually-hidden` (#32137) --- site/docs/4.5/components/input-group.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/docs/4.5/components/input-group.md b/site/docs/4.5/components/input-group.md index 606bf4b752..1eb71e9b70 100644 --- a/site/docs/4.5/components/input-group.md +++ b/site/docs/4.5/components/input-group.md @@ -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` -- GitLab