Variants
Sizes and states, all built from the same markup.
Usage
Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.
Accessibility
- Role and state. A real tablist with role="tab" and aria-selected, controlling the stage region. The live region announces the print selected.
- Keyboard. One tab stop. Arrow keys move and select, Home and End jump to the ends. The focus ring uses the --ring token.
- Reduced motion. With prefers-reduced-motion the chosen print is already developed in the tray, with no flying, ripples, sparks, shake or camera moves.
- No WebGL. Without WebGL the stage falls back to a glow and the tabs still select and announce the print.