From: Nicolas Coden Date: Mon, 8 Jan 2018 21:07:08 +0000 (+0100) Subject: docs: improve accessibility of abide examples X-Git-Tag: v6.6.0~3^2~311^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=835cf0458;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: improve accessibility of abide examples Changes: * rename IDs of inputs/descriptors * add `aria-describedby` and `aria-live="assertive` when required --- diff --git a/docs/pages/abide.md b/docs/pages/abide.md index 0082ddd95..a5523625e 100644 --- a/docs/pages/abide.md +++ b/docs/pages/abide.md @@ -29,30 +29,30 @@ These input types create a text field: `text`, `date`, `datetime`, `datetime-loc
-

Here's how you use this input field!

+

Here's how you use this input field!

-

Enter a password please.

+

Enter a password please.

-

This field is using the `data-equalto="password"` attribute, causing it to match the password field above.

+

This field is using the `data-equalto="password"` attribute, causing it to match the password field above.

@@ -120,15 +120,15 @@ These input types create a text field: `text`, `date`, `datetime`, `datetime-loc --- @@ -141,14 +141,19 @@ When the Form Errors cannot be placed next to its field, like in an Input Group, ```html_example
+
+ There are some errors in your form. +
+ +
``` @@ -159,13 +164,13 @@ When the Form Errors cannot be placed next to its field, like in an Input Group, ```html
-