]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: add basic doc about a11y attributes in Abide
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 16 Jan 2018 22:55:55 +0000 (23:55 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 16 Jan 2018 22:55:55 +0000 (23:55 +0100)
docs/pages/abide.md

index ff0768af1f6f2d31d30dfc6855802cf57d47d958..c22716d633f6f64cbd483a549361ecb6aea531cd 100644 (file)
@@ -375,3 +375,9 @@ function($el,required,parent) {
 <input id="min" type="number" required >
 <input id="max" type="number" data-validator="greater_than" data-greater-than="min" required>
 ```
+
+## Accessibility
+
+By default, Abide will add some accessibility attributes to your form elements. It is highly recommended to keep this option active as it improve the usability of your forms for disabled people. [Lean more about Accessibility in Foundation](accessibility.html).
+
+However, if you think the attributes added by Abide are not correct, you can disable it by setting `a11yAttributes` (or `[data-a11y-attributes]`) to `false`.