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

A11y: Modal and Offcanvas don't get keyboard focus #525

Open
siccovansas opened this issue Jan 4, 2023 · 0 comments
Open

A11y: Modal and Offcanvas don't get keyboard focus #525

siccovansas opened this issue Jan 4, 2023 · 0 comments

Comments

@siccovansas
Copy link

siccovansas commented Jan 4, 2023

When you open a Sveltestrap Modal or Offcanvas with your keyboard, the focus stays on the background instead of moving to the Modal/Offcanvas (so you can interact with any forms/buttons there). This makes navigating using a keyboard really hard/impossible.

The Bootstrap Modal and Offcanvas do get keyboard focus when I try them out on the Bootstrap website.

Tested on Firefox 108.0.1 and Chromium 108.0.5359.124.

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

No branches or pull requests

1 participant