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

[bug]: Language switch keyboard interactions #4274

Open
gfellerph opened this issue Dec 13, 2024 · 0 comments · May be fixed by #4260
Open

[bug]: Language switch keyboard interactions #4274

gfellerph opened this issue Dec 13, 2024 · 0 comments · May be fixed by #4260
Assignees
Labels
🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package
Milestone

Comments

@gfellerph
Copy link
Member

Describe the bug
The language switch does not behave correctly when controlled with a keyboard.

To Reproduce
Steps to reproduce the behaviour:

  1. Tab until language switch is focused
  2. Press down arrow, language switch opens
  3. Press down arrow again, language switch closes again, it should move focus to the next language in the list instead

Expected behavior
See https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/ for exact instructions on keyboard behaviour.

@gfellerph gfellerph added 🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package labels Dec 13, 2024
@gfellerph gfellerph added this to the PPNL Support milestone Dec 13, 2024
@gfellerph gfellerph moved this from 👀 Triage to 🤬 Dev in Code Review in Design System Production Board Dec 16, 2024
@leagrdv leagrdv self-assigned this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package
Projects
Status: 🤬 Dev in Code Review
Development

Successfully merging a pull request may close this issue.

2 participants