Skip to main content
  1. Docs
  2. Components
  3. Data display

Stat

A key number with its label, a note and a small trend. Several sit in a StatGroup's ruled strip.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.4
Renders
<dl>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Behaviour

Pairs
A <dl>: each label is read with its value and note.
Trend
aria-hidden: say what matters about it in note.
Loading
aria-busy, and "Loading" read in the value's place.
Tone
The note's colour only reinforces its words.

02

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Numbers and dates in English and Hindi, grouped for India
  • Forced colours and right to left
Next — StatChangelog