From 353d8395aea20dad7d59bb54b8972a29ab2cb6e2 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sun, 7 Dec 2014 15:11:28 +0000 Subject: [PATCH] Expand advice about adding labels Harmonizing this with same advice given for CSS inline forms --- docs/_includes/components/navbar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@

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.

+

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 .sr-only class. There are further alternative methods of providing a label for assistive technologies, such as the aria-label, aria-labelledby or title attribute. If none of these is present, screen readers may resort to using the placeholder attribute, if present, but note that use of placeholder as a replacement for other labelling methods is not advised.