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

[Accessibility]: Autocomplete options not accessible by keyboard interaction #538

Open
3 tasks done
Tracked by #543
gselderslaghs opened this issue Dec 7, 2024 · 1 comment
Open
3 tasks done
Tracked by #543
Labels
enhancement New feature or request

Comments

@gselderslaghs
Copy link
Member

Before submitting...

Context

When using the Autocomplete component, shown options are not tabbable/focusable by keyboard interaction which causes reduced accessibility towards people who rely on keyboard input

Current Behavior

Options are shown when typing, however, when trying to tab into the options by keyboard interaction to select desired option, tab focus goes to next page element

Codepen example

Expected behavior

Autocomplete options should be able to select by mouse or keyboard input

Possible Solutions or Causes

Implement the necessary functional attributes on initialization in order to make options tabbable/focusable by keyboard interaction

Your Environment

  • Version used: 2.1.1
@gselderslaghs gselderslaghs changed the title [Accessibility]: Autocomplete options not tabbable/focusable by keyboard interaction [Accessibility]: Autocomplete options not accessible by keyboard interaction Dec 11, 2024
@gselderslaghs gselderslaghs added the enhancement New feature or request label Dec 12, 2024
@gselderslaghs
Copy link
Member Author

Found an additional bug where autocomplete component's functionality doesn't seem to be backward compatible with firefox < 113 and other older browsers, the options do not seem to be accessible by keyboard input

Needs review

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

No branches or pull requests

1 participant