Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2014-12-07 18:11:28 +0300
committerPatrick H. Lauke <redux@splintered.co.uk>2014-12-07 23:56:37 +0300
commit353d8395aea20dad7d59bb54b8972a29ab2cb6e2 (patch)
treeb27b57879f5f360aa82cb86cf24c6cc3db96cf75 /docs
parent8af8f7d5404536782f76e0ca02e01497f1e8b0ae (diff)
Expand advice about adding labels
Harmonizing this with same advice given for CSS inline forms
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/components/navbar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_includes/components/navbar.html b/docs/_includes/components/navbar.html
index c8107c017a..6cd731ac6c 100644
--- a/docs/_includes/components/navbar.html
+++ b/docs/_includes/components/navbar.html
@@ -208,7 +208,7 @@
<div class="bs-callout bs-callout-warning" id="callout-navbar-form-labels">
<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>
+ <p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the <code>.sr-only</code> class. There are further alternative methods of providing a label for assistive technologies, such as the <code>aria-label</code>, <code>aria-labelledby</code> or <code>title</code> attribute. If none of these is present, screen readers may resort to using the <code>placeholder</code> attribute, if present, but note that use of <code>placeholder</code> as a replacement for other labelling methods is not advised.</p>
</div>