Skip to content

Keyboard a11y - ESC and ALT-UP keys don't close autocomplete #3378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DaveBest99 opened this issue Mar 2, 2017 · 3 comments
Closed

Keyboard a11y - ESC and ALT-UP keys don't close autocomplete #3378

DaveBest99 opened this issue Mar 2, 2017 · 3 comments
Labels
Accessibility This issue is related to accessibility (a11y) needs: verification A member of the team needs to verify whether this issue is fixed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@DaveBest99
Copy link

Bug, feature request, or proposal:

Bug: Keyboard user cannot close the list box with Escape or alt+up_arrow keys.

What is the expected behavior?

For an auto-complete that has text in the text box that was both typed by the user and auto-completed by highlighting a choice using the keyboard, pressing escape or alt+up_arrow closes the drop-down list and should clear the text box. Pressing alt+down_arrow should open the list box and allow the user to press up/down arrow keys in the list box and type in the Edit box.

What is the current behavior?

Currently the keyboard user cannot close the list box without selecting an item.

What is the use-case or motivation for changing an existing behavior?

To allow keyboard users a good interactive experience.

Is there anything else we should know?

Pressing the Escape key appears to do nothing. Pressing the Alt+up_arrow JAWS says "close list box", but nothing actually happens as the user can still press up/down arrow keys through the list box. The Edit box is not cleared. Pressing alt+down_arrow has the same effect as pressing down arrow. The alt+up_arrow should collapse the list box and alt+down_arrow should expand the list box.

@kara kara added the Accessibility This issue is related to accessibility (a11y) label Mar 2, 2017
@kara
Copy link
Contributor

kara commented Mar 3, 2017

Related: #3416

@kara kara added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Mar 4, 2017
@kara kara self-assigned this Mar 4, 2017
@kara kara changed the title A11y keyboard control AutoComplete cannot close list box A11y - ESC and ALT-UP keys don't close autocomplete Mar 4, 2017
@kara kara changed the title A11y - ESC and ALT-UP keys don't close autocomplete Keyboard a11y - ESC and ALT-UP keys don't close autocomplete Mar 10, 2017
@jelbourn jelbourn added the needs: verification A member of the team needs to verify whether this issue is fixed label Sep 19, 2017
@crisbeto
Copy link
Member

Closing both through escape and alt+up arrow is supported now.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accessibility This issue is related to accessibility (a11y) needs: verification A member of the team needs to verify whether this issue is fixed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

4 participants