File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ Becomes:
235
235
236
236
The new ngMessages module makes it easy to display form validation or other messages with priority
237
237
sequencing and animation. To expose these visual messages to screen readers,
238
- ngAria injects `aria-live="polite "`, causing them to be read aloud any time a message is shown,
238
+ ngAria injects `aria-live="assertive "`, causing them to be read aloud any time a message is shown,
239
239
regardless of the user's focus location.
240
240
###Example
241
241
@@ -249,7 +249,7 @@ regardless of the user's focus location.
249
249
Becomes:
250
250
251
251
```html
252
- <div ng-messages="myForm.myName.$error" aria-live="polite ">
252
+ <div ng-messages="myForm.myName.$error" aria-live="assertive ">
253
253
<div ng-message="required">You did not enter a field</div>
254
254
<div ng-message="maxlength">Your field is too long</div>
255
255
</div>
You can’t perform that action at this time.
0 commit comments