Lab for Svelte 268 items

Accessibility

Keyboard support, focus handling and reduced motion.

What every port keeps

  • Roles and names: the same ARIA roles, labels and live regions as the original.
  • Keyboard: menus, lists, pickers and tabs move with the arrow keys, Home and End; Escape closes what opened.
  • Focus: focus moves into a menu or dialog when it opens and returns to its trigger when it closes; dialogs keep Tab inside.
  • Reduced motion: with prefers-reduced-motion, animations shorten or stop; anything that signals ongoing work keeps a slow version.

Each component page lists its specifics under Accessibility.

What is on you

  • Give icon-only buttons a label.
  • Keep text contrast when you change the tokens; status colors are dark enough for text on a 10% tint.
  • Test the flows you build with a keyboard and a screen reader.