]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix broken markdown formatting
authorMark Otto <markdotto@gmail.com>
Mon, 9 May 2016 05:52:58 +0000 (22:52 -0700)
committerMark Otto <markdotto@gmail.com>
Mon, 9 May 2016 05:52:58 +0000 (22:52 -0700)
docs/components/forms.md

index 3f777bcb64e39e2c1aecb6c39e24b98b81c56c94..e613071a733e722d845a2830bd4b723d1559f762 100644 (file)
@@ -334,9 +334,9 @@ Because of this, you may need to manually address the width and alignment of ind
 {% endexample %}
 
 {% callout warning %}
- #### Alternatives to hidden labels
- Assistive technologies such as 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 are present, assistive technologies 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.
- {% endcallout %}
+#### Alternatives to hidden labels
+Assistive technologies such as 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 are present, assistive technologies 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.
+{% endcallout %}
 
 ### Using the Grid