Text sizes follow the semantic type scale (headlines 48/32/28/24/20/16px, body and labels from the scale).
The requirement (from the design system site)
Text sizes follow the semantic type scale (headlines 48/32/28/24/20/16px, body and labels from the scale).
Why it matters to users
A consistent type scale lets a reader see at a glance which line is the page title, which is a section heading and which is help text. Sizes picked one by one blur that order, so people skim past the instruction they needed.
How to fix it
Replace off-scale font sizes with the semantic typography tokens, such as the 48, 32, 28, 24, 20 and 16px headline levels and the body and label sizes. Then scan again.
How we measure it
Font-size census of visible text (header and footer counted once) compared with the Gov.om scale (8, 10, 12, 13, 14, 16, 18, 19, 20, 24, 28, 32, 36, 40, 48, 56, 72px). Headline sizes from the Typography page; body and label sizes from @govom/tokens, because the page's Body text table repeats spacing tokens. Partly measured: we measure what the public pages show of this rule; the rest needs a review.
"
The rule on the design system site