Skip to content

Commit

Permalink
docs(forms): revert #37587 callout change
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed May 16, 2023
1 parent 0f6be8a commit c201890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.3/forms/form-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ 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.
Expand Down

0 comments on commit c201890

Please sign in to comment.