Skip to content
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

add extra keyboard controls as per W3C recommendations for combobox #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evanwills
Copy link

@evanwills evanwills commented Feb 19, 2024

Add four extra keyboard controls for as per recommendations from the W3C
https://www.w3.org/WAI/ARIA/apg/patterns/combobox/#keyboardinteraction

  1. Control + Home (optional): moves focus to the first row.
  2. Control + End (Optional): moves focus to the last row.
  3. Alt + Down Arrow (Optional): If the popup is available but not displayed, displays the popup without moving focus.
  4. Alt + Up Arrow (Optional): If the popup is displayed:
    • If the popup contains focus, returns focus to the combobox.
    • Closes the popup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant