This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
md-autocomplete: number of matching items and the selected one are not announced by the screen reader at the same time. #9603
Labels
a11y
This issue is related to accessibility
has: Pull Request
A PR has been created to address this issue
P0: critical
Critical issues that must be addressed immediately.
resolution: fixed
Milestone
Actual Behavior:
What is the issue? *
In the case when the autocomplete dropdown shows a list of matching item, and a auto selected one in the list:
Sometimes the screen reader only announces the '# of matches available', or only the auto selected item.
What is the expected behavior?
Should announce both the # of matches item and the auto selected one together.
I took a look into the code, and found that the message announce by the screen reader is put in tag which has aria-live. But by default aria-live only catches the changed content. I suggest to add aria-atomic="true" attribute to , so that all the messages in it can be announced together when the change is detected.
Angular Versions: *
Angular Version:
1.5.9Angular Material Version:
1.1.1Additional Information:
Browser Type: *
ChromeBrowser Version: *
OS: *
Stack Traces:
Shortcut to create a new CodePen Demo.
Note:
*
indicates required information. Without this information, your issue may be auto-closed.The text was updated successfully, but these errors were encountered: