From 25cac1ea9a70ab192a4b4fb49b972de2f342d240 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Fri, 14 Nov 2014 01:27:47 +0000 Subject: [PATCH] Redundant role="form" on
s --- docs/_includes/components/input-groups.html | 8 +-- docs/_includes/css/forms.html | 66 ++++++++++----------- docs/_includes/js/modal.html | 4 +- docs/customize.html | 2 +- docs/examples/jumbotron/index.html | 2 +- docs/examples/signin/index.html | 2 +- 6 files changed, 42 insertions(+), 42 deletions(-) diff --git a/docs/_includes/components/input-groups.html b/docs/_includes/components/input-groups.html index c94b60c115..221fcad54b 100644 --- a/docs/_includes/components/input-groups.html +++ b/docs/_includes/components/input-groups.html @@ -22,7 +22,7 @@

Place one add-on or button on either side of an input. You may also place one on both sides of an input.

We do not support multiple add-ons on a single side.

We do not support multiple form-controls in a single input group.

- +
@ @@ -59,7 +59,7 @@

Sizing

Add the relative form sizing classes to the .input-group itself and contents within will automatically resize—no need for repeating the form control size classes on each element.

- +
@ @@ -182,7 +182,7 @@

Buttons with dropdowns

- +
@@ -252,7 +252,7 @@ {% endhighlight %}

Segmented buttons

- +
diff --git a/docs/_includes/css/forms.html b/docs/_includes/css/forms.html index c558de96a8..017f5f483b 100644 --- a/docs/_includes/css/forms.html +++ b/docs/_includes/css/forms.html @@ -4,7 +4,7 @@

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.

- +
@@ -27,7 +27,7 @@
{% highlight html %} -
+
@@ -66,7 +66,7 @@

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.

- +
@@ -91,7 +91,7 @@
{% highlight html %} -
+
@@ -120,7 +120,7 @@

Horizontal form

Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout by adding .form-horizontal to the form. Doing so changes .form-groups to behave as grid rows, so no need for .row.

- +
@@ -150,7 +150,7 @@
{% highlight html %} -
+
@@ -191,7 +191,7 @@

Inputs will only be fully styled if their type is properly declared.

- +
@@ -206,7 +206,7 @@

Textarea

Form control which supports multiple lines of text. Change rows attribute as necessary.

-
+
@@ -219,7 +219,7 @@

A checkbox or radio with the disabled attribute will be styled appropriately. To have the <label> for the checkbox or radio also display a "not-allowed" cursor when the user hovers over the label, add the .disabled class to your .radio, .radio-inline, .checkbox, .checkbox-inline, or <fieldset>.

Default (stacked)

-
+