diff --git a/components.html b/components.html index b4040dbe92..dbe981c2a9 100644 --- a/components.html +++ b/components.html @@ -2133,15 +2133,15 @@ base_url: "../" {% endhighlight %} -
The responsive navbar requires the collapse plugin to be included in your version of Bootstrap.
-The responsive navbar requires the collapse plugin to be included in your version of Bootstrap.
+Be sure to add a role="navigation"
to every navbar to help with accessibility.
Be sure to add a role="navigation"
to every navbar to help with accessibility.
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.
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.
Add the .navbar-btn
class to <button>
elements not residing in a <form>
to vertically center them in the navbar.