On this page

Trace

Keys, what Trace gives you and what your team does.

Conformance

Trace meets WCAG 2.2 level AA when used as described on these pages. An expandable step follows the Disclosure pattern of the WAI-ARIA Authoring Practices.

Keyboard

Key Action
Tab Moves focus to the next expandable step or link.
Enter or Space Opens or closes the step’s details.

What Trace gives you

  • An expandable step is a button with aria-expanded and aria-controls, from reka-ui.
  • Icons are hidden from screen readers (aria-hidden); the text carries the meaning.
  • The Button focus outline on expandable steps and on lines inside links or buttons.
  • The running shimmer stops under reduced motion; the text stays solid.
  • A pending step uses lighter text, never transparency.

What your team does

  • Pair every status with an icon and words; never colour alone.
  • Say what failed in the title of the failed step, and open it by default.
  • For a run that is still going, announce its end, such as “Sync finished: 2 orders failed”, in a live region outside the trace.
  • Keep color.text.subtlest for short durations and counts.

WCAG criteria

Criterion Level How
1.4.1 Use of Color A Each status has an icon and words
2.1.1 Keyboard A Steps open with Enter and Space
2.4.7 Focus Visible AA The Button focus outline
4.1.2 Name, Role, Value A aria-expanded on each expandable step