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
AccessibilityThis issue is related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Request: Typed input should only match what is in the list box.
What is the expected behavior?
In a non-editable auto-complete, any letters that do not result in a match from the list should be ignored, the drop down list of choices remains static until the user presses Escape to clear the text field, Backspace to remove some of the letters previously typed, or types an additional letter that results in a valid list of choices. In an editable auto-complete, if no choices match the letters typed, the drop down list closes.
What is the current behavior?
Currently anything can be typed into the Edit box.
What is the use-case or motivation for changing an existing behavior?
Help users from making mistakes. A non-editable list box should only allow typed text that matches the list items, and an editable list box can accept typed text that does not match the list items, but this is confusing in a list of States.
Is there anything else we should know?
The only time the Edit box gets screen reader focus is when an invalid character is typed. That is, as long as there is a list item with the sequence of typed letters, the focus will move through the list, but a non-recognizable sequence will bring focus to the Edit box. Deleting the last letter typed (pressing Backspace) will move focus to the valid list item but it is not announced by the screen reader. That is, the screen reader user does not know what list item has focus (Note,although JAWS does not announce the State name, it is showned on the braille display). The user can press up/down arrow keys through the list but never get Edit box focus. Focus should stay on the Edit box until the arrow key is pressed, and an aria-alert can read the list item in focus.
Currently we hide the panel when there are no options, but it looks like aria-expanded is not updated properly, so there's no indication that the list is closed. That's definitely a bug. It's also weird when the invalid letter is deleted because it doesn't announce that the list has re-opened. Looking into it.
changed the title [-]A11y keyboard control AutoComplete input validation[/-][+]A11y - Autocomplete doesn't announce dropdown closing for invalid input[/+]on Mar 4, 2017
I think Github3416 offers a cleaner solution for opening and closing the list.
From: Kara [mailto:notifications@github.com]
Sent: March 3, 2017 07:43 PM
To: angular/material2
Cc: David Best; Author
Subject: Re: [angular/material2] A11y keyboard control AutoComplete input validation (#3375)
Currently we hide the panel when there are no options, but it looks like aria-expanded is not updated properly, so there's no indication that the list is closed. That's definitely a bug. It's also weird when the invalid letter is deleted because it doesn't announce that the list has re-opened. Looking into it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#3375 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AVPBNhAIFlLpMDMIKWgJnrLb2FiivaW0ks5riLOjgaJpZM4MQiFx> . <https://github.com/notifications/beacon/AVPBNlaJ6UL8ZQRcs0JTVKqixY74jMitks5riLOjgaJpZM4MQiFx.gif>
changed the title [-]A11y - Autocomplete doesn't announce dropdown closing for invalid input[/-][+]JAWS - Autocomplete doesn't announce dropdown closing for invalid input[/+]on Mar 10, 2017
AccessibilityThis issue is related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Activity
kara commentedon Mar 3, 2017
Related: Related: #3416
kara commentedon Mar 4, 2017
Currently we hide the panel when there are no options, but it looks like aria-expanded is not updated properly, so there's no indication that the list is closed. That's definitely a bug. It's also weird when the invalid letter is deleted because it doesn't announce that the list has re-opened. Looking into it.
[-]A11y keyboard control AutoComplete input validation[/-][+]A11y - Autocomplete doesn't announce dropdown closing for invalid input[/+]DaveBest99 commentedon Mar 4, 2017
[-]A11y - Autocomplete doesn't announce dropdown closing for invalid input[/-][+]JAWS - Autocomplete doesn't announce dropdown closing for invalid input[/+]angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.