You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Upon re-testing the autocomplete component, something happened to the messages array sent to our <aria-status> child directive causing all of the text to be appended and never removed. Inside of that component is an ng-repeat checking for messages:
<aria-status><png-repeat="message in $mdAutocompleteCtrl.messages">{{message.display}}</p>\
</aria-status>
The messages array in autocompleteController.js now keeps appending messages without clearing upon change. Right now on focus the input reads "There are 50 matches available. There are 50 matches available." When you start typing and the list filters, it reads "There are 4 matches available. There are 2 matches available." in the same letter. States are also repeated as you arrow through the list.
It should read the "There are X matches available" when there is a change in the count, and only once for that count until another filter happens. The highlighted state only should read aloud as you arrow through the list (not a notice about matches available).
We also need to announce when there are no matches available.
See what happens in Voiceover in Safari (the same happens in Chrome):
The text was updated successfully, but these errors were encountered:
marcysutton
changed the title
Autocomplete accessibility support
Autocomplete accessibility support: limit number of matches and states announced
May 8, 2015
marcysutton
changed the title
Autocomplete accessibility support: limit number of matches and states announced
Autocomplete accessibility: limit number of matches and highlighted items announced
May 10, 2015
Upon re-testing the autocomplete component, something happened to the messages array sent to our
<aria-status>
child directive causing all of the text to be appended and never removed. Inside of that component is anng-repeat
checking for messages:The
messages
array inautocompleteController.js
now keeps appending messages without clearing upon change. Right now on focus the input reads "There are 50 matches available. There are 50 matches available." When you start typing and the list filters, it reads "There are 4 matches available. There are 2 matches available." in the same letter. States are also repeated as you arrow through the list.It should read the "There are X matches available" when there is a change in the count, and only once for that count until another filter happens. The highlighted state only should read aloud as you arrow through the list (not a notice about matches available).
We also need to announce when there are no matches available.
See what happens in Voiceover in Safari (the same happens in Chrome):
The text was updated successfully, but these errors were encountered: