Charts and states

Charts and states

Showing data, and the moments between: loading, empty, in progress, and filling in a field.

BarChart

A chart is only accessible if it says what it shows. The point is written as its text alternative, the highlighted value is labelled as well as coloured, and every value is in a table one tap away.

Sparkline

A glance at a trend. The figure that matters is always written next to it, and the alternative text states the direction.
Up 7.4% in 30 days

ProgressBar

Figures and a percentage are spoken. Any tone other than the default requires a word (the type enforces it), because a bar that only turns red means nothing to someone who cannot see red.
Groceries
$167.19 of $400.00
Subscriptions
$49.97 of $60.00
Close to the limit
Dining
$250.15 of $220.00
Over budget by $30.15
Emergency fund
$90.00 of $90.00
Goal reached

Skeleton and LoadingRegion

Placeholders shaped like what is coming, so the page does not jump. A screen reader hears one 'Loading'. They hold still under reduced motion.

EmptyState

Say what is empty and why, then offer one way forward.

No matching transactions

Try a different word, or remove a filter.

Stepper

Where you are in a short flow, in words first. The segments are a glance.
Step 2 of 4 ยท Amount

Avatar

Initials, one colour on purpose: colour-coding people by hue would carry meaning that colour-blind users cannot read. The name is always written beside it.
Sam Rivera
Alex Chen
Maya Patel

TextField

Same behaviour as the amount input, for words: a 3:1 border that thickens on focus or error, an error announced when it appears, and a tap target that is the whole box.
Name or email