diff options
author | Mario <mario@mariovavti.com> | 2023-10-05 10:17:07 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-10-05 10:17:07 +0000 |
commit | 32f2de17d4faeb7b74b0f1b46c43800e3acedf36 (patch) | |
tree | 002328a2aad702ba3b7068992337f8aa2bb59997 /vendor/twbs/bootstrap/site/content/docs/5.3/forms/form-control.md | |
parent | 600e8081a82f088ff513664379a1557ae5078193 (diff) | |
download | volse-hubzilla-32f2de17d4faeb7b74b0f1b46c43800e3acedf36.tar.gz volse-hubzilla-32f2de17d4faeb7b74b0f1b46c43800e3acedf36.tar.bz2 volse-hubzilla-32f2de17d4faeb7b74b0f1b46c43800e3acedf36.zip |
composer update bootstrap
Diffstat (limited to 'vendor/twbs/bootstrap/site/content/docs/5.3/forms/form-control.md')
-rw-r--r-- | vendor/twbs/bootstrap/site/content/docs/5.3/forms/form-control.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/twbs/bootstrap/site/content/docs/5.3/forms/form-control.md b/vendor/twbs/bootstrap/site/content/docs/5.3/forms/form-control.md index 0c6b5997e..1f3474dac 100644 --- a/vendor/twbs/bootstrap/site/content/docs/5.3/forms/form-control.md +++ b/vendor/twbs/bootstrap/site/content/docs/5.3/forms/form-control.md @@ -36,14 +36,14 @@ Set heights using classes like `.form-control-lg` and `.form-control-sm`. Block-level or inline-level form text can be created using `.form-text`. {{< callout warning >}} -Form text should be explicitly associated with the form control it relates to using the `aria-labelledby` (for mandatory information such as data format) or `aria-describedby` (for complementary information) attribute. This will ensure that assistive technologies—such as screen readers—will announce this form text when the user focuses or enters the control. +Form text should be explicitly associated with the form control it relates to using the `aria-describedby` attribute. This will ensure that assistive technologies—such as screen readers—will announce this form text when the user focuses or enters the control. {{< /callout >}} Form text below inputs can be styled with `.form-text`. If a block-level element will be used, a top margin is added for easy spacing from the inputs above. {{< example >}} <label for="inputPassword5" class="form-label">Password</label> -<input type="password" id="inputPassword5" class="form-control" aria-labelledby="passwordHelpBlock"> +<input type="password" id="inputPassword5" class="form-control" aria-describedby="passwordHelpBlock"> <div id="passwordHelpBlock" class="form-text"> Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji. </div> @@ -57,7 +57,7 @@ Inline text can use any typical inline HTML element (be it a `<span>`, `<small>` <label for="inputPassword6" class="col-form-label">Password</label> </div> <div class="col-auto"> - <input type="password" id="inputPassword6" class="form-control" aria-labelledby="passwordHelpInline"> + <input type="password" id="inputPassword6" class="form-control" aria-describedby="passwordHelpInline"> </div> <div class="col-auto"> <span id="passwordHelpInline" class="form-text"> |