Issue 509
enhancement: Key facts block (icon, value, certainty, source)
Back to our planDone
enhancementfrontendcmsuxpriority: high
Problem
In plain words: readers want the key numbers fast (when, how much, will taxes go up) and how sure we are about each one. A row of small cards with an icon, a big short value, a label, a certainty tag and a source link does that.
Proposed fix
- Pattern: USWDS icon list and summary box.
- Each fact:
icon(select from a curated lucide set),value(short text: "2040s", "$10M", "?"),label,certainty(confirmed,estimate,unknown, from the shared vocabulary), optionalsourcelink. - 2–4 cards per row on desktop, stacked on phones. Uses the shared
CardandBadge. - Uses the shared editorial-block registration from the Timeline sub-issue.
Acceptance criteria
- Not done: Editors can insert Key facts in Events and Posts rich text.
- Not done: Certainty shown as text, not only color; source links are real links.
- Not done: Readable at all six widths, light and dark; passes axe.
- Not done: Unit tests for the mapper and renderer.
Area
frontend, cms, ux
Priority
priority: high
Generated by Claude Code, opens in a new tab