diff --git a/docs/components.html b/docs/components.html index 93d24238b1..c962198348 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1432,7 +1432,7 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

There are some caveats regarding using form controls within fixed elements on mobile devices. See our browser support docs for details.

-
+

Always add labels

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the .sr-only class.

diff --git a/docs/css.html b/docs/css.html index d8d6b8bb5b..add93b16ff 100644 --- a/docs/css.html +++ b/docs/css.html @@ -1588,7 +1588,7 @@ For example, <section> should be wrapped as inline.

Requires custom widths

Inputs, selects, and textareas are 100% wide by default in Bootstrap. To use the inline form, you'll have to set a width on the form controls used within.

-
+

Always add labels

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the .sr-only class.