From a86f5d24f8ce1c0ce06be74ed3602fbb83ea6594 Mon Sep 17 00:00:00 2001 From: Kevin Suttle Date: Sun, 11 Aug 2013 21:41:31 -0400 Subject: Give forms and search fields proper ARIA roles http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex http://www.w3.org/TR/wai-aria/roles#form http://www.w3.org/TR/wai-aria/roles#search --- css.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'css.html') diff --git a/css.html b/css.html index 665d8cfbf..eb2c8c64c 100644 --- a/css.html +++ b/css.html @@ -1242,7 +1242,7 @@ For example, <section> should be wrapped as inline.

Basic example

Individual form controls automatically receive some global styling. All textual <input>, <textarea>, and <select> elements with .form-control are set to width: 100%; by default. Wrap labels and controls in .form-group for optimum spacing.

-
+
Legend
@@ -1267,7 +1267,7 @@ For example, <section> should be wrapped as inline.
{% highlight html %} -
+
Legend
@@ -1304,7 +1304,7 @@ For example, <section> should be wrapped as inline.

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.

- + @@ -1317,7 +1317,7 @@ For example, <section> should be wrapped as inline. {% highlight html %} -
+ @@ -1362,7 +1362,7 @@ For example, <section> should be wrapped as inline.
{% highlight html %} -
+
@@ -1544,7 +1544,7 @@ For example, <section> should be wrapped as inline.
{% highlight html %} -
+
@@ -1616,7 +1616,7 @@ For example, <section> should be wrapped as inline.
{% highlight html %} -
+
-- cgit v1.2.3