Interactive widgets
Live, keyboard-operable, screen-reader-correct HTML patterns — the interactive shelf of Build. Each dedicated page has a working demo, copy code, a full keyboard-interaction table and ARIA notes. For static building blocks see Components; for the tokens under them, Foundations.
Available now
-
Tabs
A tablist with arrow-key navigation and roving tabindex, so only the active tab is in the Tab order.
-
Accordion & disclosure
Show/hide regions toggled by a real
buttonwitharia-expandedtying control to content. -
Accessible data table
Semantic
tablemarkup with scopedthheaders and a caption so rows and columns are announced. -
Breadcrumb
An ordered
navlandmark labelled for assistive tech, with the current page markedaria-current. -
Form fields & validation
Explicitly labelled inputs with errors wired via
aria-describedbyand announced through a live region. -
Code block with copy
A copy button that confirms success without stealing focus, keeping the keyboard path uninterrupted.
Interactive patterns
Deep-dive pages with a live, keyboard-operable demo, copyable markup, a keyboard-interaction table and ARIA notes.
-
Modal dialog
A focus-trapped native
<dialog>that returns focus to its trigger and closes on Escape. -
Combobox / autocomplete
A text input paired with a filtered listbox, tracking the active option with
aria-activedescendantas you type. -
Menu button
An
aria-haspopupbutton opening an actions menu navigable by arrow keys, Home and End. -
Tooltip
A hover- and focus-triggered hint linked by
aria-describedbythat stays dismissible with Escape. -
Accordion
Grouped disclosures, each a real button with
aria-expanded, that open and collapse independently. -
Navigation menu
A site main menu with disclosure dropdowns — Escape closes a submenu and returns focus to its toggle.
-
Switch
A
role="switch"on/off toggle operated with Space or Enter, with state never on colour alone. -
Custom checkbox
A stylable
role="checkbox"with Space to toggle — shown alongside the preferred native input. -
Radio group
A
role="radiogroup"with arrow-key roving selection and a single tab stop. -
Slider
A
role="slider"driven by arrow, Page and Home/End keys, with a visible value readout.
What every full pattern page will include
A live, working demo; copyable, framework-free code; a keyboard-interaction table; and ARIA notes explaining the roles, states and properties that make the pattern accessible.