diff --git a/docs/_includes/css/forms.html b/docs/_includes/css/forms.html index b50e31380d..7c8b124dcc 100644 --- a/docs/_includes/css/forms.html +++ b/docs/_includes/css/forms.html @@ -65,15 +65,43 @@

Always add labels

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.

+
- - + +
- - + + +
+ +
+
+{% highlight html %} +
+
+ + +
+
+ + +
+ +
+{% endhighlight %} + +
+
+
+ + +
+
+ +