From 21fad338584aa08c6c1dab6b9be3198b684ebd75 Mon Sep 17 00:00:00 2001 From: Alex Kalicki Date: Thu, 3 Oct 2013 13:52:30 -0400 Subject: [PATCH] Resolves #10923 Rebased from #10930 --- components.html | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/components.html b/components.html index ce2fde5e6a..393f184004 100644 --- a/components.html +++ b/components.html @@ -1533,15 +1533,15 @@ base_url: "../" {% endhighlight %} -
-

Plugin dependency

-

The responsive navbar requires the collapse plugin to be included in your version of Bootstrap.

-
+
+

Plugin dependency

+

The responsive navbar requires the collapse plugin to be included in your version of Bootstrap.

+
-
-

Make navbars accessible

-

Be sure to add a role="navigation" to every navbar to help with accessibility.

-
+
+

Make navbars accessible

+

Be sure to add a role="navigation" to every navbar to help with accessibility.

+
@@ -1577,14 +1577,14 @@ 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.

-
+
+

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.

+

Add the .navbar-btn class to <button> elements not residing in a <form> to vertically center them in the navbar.