From: Chris Rebert Date: Thu, 12 Sep 2013 05:58:07 +0000 (-0700) Subject: add same accessibility warning from .form-inline to .navbar-form docs X-Git-Tag: v3.0.3~14^2~9^2~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10594%2Fhead;p=thirdparty%2Fbootstrap.git add same accessibility warning from .form-inline to .navbar-form docs --- diff --git a/components.html b/components.html index 81f0ae8d24..f107a1b09f 100644 --- a/components.html +++ b/components.html @@ -1562,6 +1562,11 @@ base_url: "../" {% endhighlight %} +
+

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.

+
+

For buttons not residing in a <form>, add this class to vertically center buttons within a navbar.