Skip to content
Component passports token-kit

FilterBar

18 — content-type filters. A toggle-button group rather than styled links, so the active state is programmatic (aria-pressed) instead of a colour a screen reader cannot see.

Evidence

What the kit's own checks measured on this component, from their committed records. A result is what was found, not a certificate.

CheckWhat it measuresResultWhen
Contrastevery text and boundary pair labelled with its elements, in every pack, surface and density the fixture holds56 pairs, 0 failed; closest 7.58:1 for card/body (tk / default / default), needs 4.5:12026-11-27
Controlsevery prop reachable from a story's controls2 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only2 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values2 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title2 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width2 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll2 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast2 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving2 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called2 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page2 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll2 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinFilterBar: mean Δ 2.83, worst 2.83 over 1 skin2026-10-10
Figmawhere it is drawn in the Figma library1 component in the library; Code Connect linked; 0 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 23 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
typesothernonot drawn
iconsothernonot drawn
initialTypetextnonot drawn
labeltextnonot drawn

Tokens it reads

focus-color, focus-offset, focus-width, leading-snug, line-default, line-strong, line-subtle, motion-elevation, motion-line, motion-surface, radius-nested, shadow-none, shadow-sm, size-lg, size-xl, space-2, space-3, space-5, surface-raised, surface-sunken, text-primary, text-secondary, weight-semibold