A11y: Modal and Offcanvas don't get keyboard focus
siccovansas opened this issue · comments
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.