From 851acf3f33b8e8b3fe0440f4908f218ed3ad2c82 Mon Sep 17 00:00:00 2001
From: Chris Rebert <code@rebertia.com>
Date: Wed, 11 Sep 2013 22:58:07 -0700
Subject: [PATCH] add same accessibility warning from .form-inline to
 .navbar-form docs

---
 components.html | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/components.html b/components.html
index 81f0ae8d24..f107a1b09f 100644
--- a/components.html
+++ b/components.html
@@ -1562,6 +1562,11 @@ base_url: "../"
 </form>
 {% endhighlight %}
 
+<div class="bs-callout bs-callout-danger">
+  <h4>Always add labels</h4>
+  <p>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 <code>.sr-only</code> class.</p>
+</div>
+
 
     <h2 id="navbar-buttons">Buttons</h2>
     <p>For buttons not residing in a <code>&lt;form&gt;</code>, add this class to vertically center buttons within a navbar.</p>