diff --git a/docs/_includes/css/forms.html b/docs/_includes/css/forms.html index f0d59018bf..fab5ea1029 100644 --- a/docs/_includes/css/forms.html +++ b/docs/_includes/css/forms.html @@ -609,6 +609,30 @@ {% endhighlight %} +

Help text

+

Block level help text for form controls.

+
+

Associating help text with form controls

+

Help 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 help text when the user focuses or enters the control.

+
+
+
+
+ + +
+ A block of help text that breaks onto a new line and may extend beyond one line. +
+
+{% highlight html %} + + +... +A block of help text that breaks onto a new line and may extend beyond one line. +{% endhighlight %} + + +

Validation states

Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add .has-warning, .has-error, or .has-success to the parent element. Any .control-label, .form-control, and .help-block within that element will receive the validation styles.

@@ -622,7 +646,8 @@
- + + A block of help text that breaks onto a new line and may extend beyond one line.
@@ -661,7 +686,8 @@ {% highlight html %}
- + + A block of help text that breaks onto a new line and may extend beyond one line.
@@ -1001,25 +1027,3 @@
{% endhighlight %} -

Help text

-

Block level help text for form controls.

-
-

Associating help text with form controls

-

Help 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 help text when the user focuses or enters the control.

-
-
- -
- - -
- A block of help text that breaks onto a new line and may extend beyond one line. - -
-{% highlight html %} - - -... -A block of help text that breaks onto a new line and may extend beyond one line. -{% endhighlight %} -
diff --git a/docs/_includes/nav/css.html b/docs/_includes/nav/css.html index 02becfe680..59134bdfcf 100644 --- a/docs/_includes/nav/css.html +++ b/docs/_includes/nav/css.html @@ -73,9 +73,9 @@
  • Focus state
  • Disabled state
  • Readonly state
  • +
  • Help text
  • Validation states
  • Control sizing
  • -
  • Help text