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

Focus nested accordions when navigating with keyboard arrow keys #151

Open
Manussakis opened this issue Jun 15, 2023 · 0 comments · May be fixed by #152
Open

Focus nested accordions when navigating with keyboard arrow keys #151

Manussakis opened this issue Jun 15, 2023 · 0 comments · May be fixed by #152
Assignees
Labels

Comments

@Manussakis
Copy link
Member

Manussakis commented Jun 15, 2023

Is your feature request related to a problem? Please describe.
Navigating with keyboard arrow keys (up/down) skip nested accordions.

Describe the solution you'd like
In the image below, the focus is on the "Accordion Header 3 with Nested Accordion" link. Pressing the arrow down key on the keyboard should focus the "Nested Accordion Header 1” instead of “Accordion Header 4” link.
image

Describe alternatives you've considered
In order to fix it, a list with all visible accordion links should be updated on every user interaction (open/close accordions) regardless of whether they are nested or not. The accessKeyBindings method, already present in the codebase, should take care of focusing the correct link once this list is passed in as a parameter.

@Manussakis Manussakis self-assigned this Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant