From 2485f1b84dcf65ba8e6b87e19ff237ec6c2cb373 Mon Sep 17 00:00:00 2001 From: RaphStein Date: Mon, 9 Mar 2015 18:06:08 +0100 Subject: [PATCH] Changed aria-live attribute value from polite to assertive For ngMessages directive ngAria generates aria-live with value assertive and not polite. --- docs/content/guide/accessibility.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/guide/accessibility.ngdoc b/docs/content/guide/accessibility.ngdoc index 51a3cd34955f..2d5fdcfb6d26 100644 --- a/docs/content/guide/accessibility.ngdoc +++ b/docs/content/guide/accessibility.ngdoc @@ -235,7 +235,7 @@ Becomes: The new ngMessages module makes it easy to display form validation or other messages with priority sequencing and animation. To expose these visual messages to screen readers, -ngAria injects `aria-live="polite"`, causing them to be read aloud any time a message is shown, +ngAria injects `aria-live="assertive"`, causing them to be read aloud any time a message is shown, regardless of the user's focus location. ###Example @@ -249,7 +249,7 @@ regardless of the user's focus location. Becomes: ```html -
+
You did not enter a field
Your field is too long