From 835cf04586b9e3ded2373a81abfc71ea44de3ed6 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Mon, 8 Jan 2018 22:07:08 +0100 Subject: [PATCH] docs: improve accessibility of abide examples Changes: * rename IDs of inputs/descriptors * add `aria-describedby` and `aria-live="assertive` when required --- docs/pages/abide.md | 61 ++++++++++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 26 deletions(-) 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
-