Accessible information design
Accessible information design
How to make charts and data stories work for readers with colour-vision deficiency, low vision, older eyes, screen readers, cognitive load or motion sensitivity. This is not an afterthought to good.md: a chart that a tenth of men cannot decode, or that a screen reader announces as "image", has failed at the first job of information design.
What the books say and what they don't. The library is strong on colour-vision deficiency, luminance contrast and redundant encoding (Ware, Munzner, Few, Knaflic, Tufte). It is thin or silent on everything a web publisher now needs: no WCAG ratios, no minimum text size, almost nothing on alt text or screen readers (one page of Knaflic, two of Lupton), nothing on reflow, dark mode, reading level or reduced motion. Where the books are silent, this file supplements them with WCAG 2.2 (W3C, 2023) and marks the source of every rule:
- [Books]: stated in the library, with page.
- [WCAG 2.2]: a W3C success criterion, with its number and level. AA is the target; AAA is noted where useful.
- [Practice]: widely used platform or newsroom guidance, neither book nor WCAG (for example Apple and Android type minimums). Treat as defaults, not law.
Pages: Ware printed = PDF − 27; Munzner = PDF − 25; Knaflic = PDF − 20; Lupton = PDF; Few by section and PDF page; Tufte as in tufte-examples.md.
Thresholds at a glance
| What | Threshold | Source |
|---|---|---|
| Body and label text contrast | ≥ 4.5:1 against its background | [WCAG 2.2] 1.4.3 Contrast (Minimum), AA |
| Large text contrast (≥ 24 px, or ≥ 18.66 px bold) | ≥ 3:1 | [WCAG 2.2] 1.4.3, AA |
| Enhanced text contrast | ≥ 7:1 (≥ 4.5:1 large) | [WCAG 2.2] 1.4.6, AAA |
| Data marks, lines, chart parts needed to understand the chart | ≥ 3:1 against adjacent colours | [WCAG 2.2] 1.4.11 Non-text Contrast, AA |
| Text and fine detail, perceptual minimum | ≥ 3:1 luminance contrast ("More is better") | [Books] Ware p. 94 |
| Colour as the only carrier of meaning | Never | [WCAG 2.2] 1.4.1 Use of Color, A; [Books] Ware p. 143, Munzner p. 235, Tufte EI p. 93 |
| Colour-vision deficiency prevalence | 8% of men, 0.5% of women (Northern European ancestry); books also give 10% / 1% | [Books] Munzner p. 235; Knaflic p. 230; Ware p. 99; Few §3.12 |
| Categorical hues | ≤ 6 easy; 6–12 at most for small regions | [Books] Ware p. 125; Munzner pp. 224–226 |
| Lightness steps on a non-uniform background | < 5 | [Books] Munzner pp. 223–224 |
| Minimum rendered chart text on a phone | ≥ 11 px (CSS px), ideally 12–13 | [Practice] Apple HIG minimum 11 pt; DataPressr chart-text-size. WCAG sets no minimum size |
| Text resize | Readable at 200% zoom without loss | [WCAG 2.2] 1.4.4 Resize Text, AA |
| Reflow | Usable at 320 CSS px wide without two-way scrolling (charts may scroll if needed for meaning) | [WCAG 2.2] 1.4.10 Reflow, AA |
| Flashing | No more than 3 flashes in any second | [WCAG 2.2] 2.3.1, A; [Books] Ware p. 62 (~20 Hz, ~3 cycles/degree most dangerous) |
| Auto-moving content lasting > 5 s | Must have pause, stop or hide | [WCAG 2.2] 2.2.2, A |
| Motion triggered by interaction | Can be turned off; honour prefers-reduced-motion | [WCAG 2.2] 2.3.3, AAA |
| Touch targets | ≥ 24 × 24 CSS px | [WCAG 2.2] 2.5.8 Target Size (Minimum), AA |
| Alt text | Every chart image has a text alternative stating what it shows | [WCAG 2.2] 1.1.1, A; [Books] Knaflic pp. 229–230 |
| Reading level | Lower secondary education level, or a simpler version | [WCAG 2.2] 3.1.5, AAA |
A. Colour-vision deficiency
A1. Never let a distinction depend on hue alone, and never on red against green
- Rule: Every colour distinction that carries meaning must also differ in lightness, or be carried by a label, position, shape or dash. Red against green is banned for essential contrasts.
- Source: [Books] Tufte VDQI p. 183 (the unfriendly graphic uses "red and green … for essential contrasts"; 5–10% of viewers are colour-deficient; "blue can be distinguished from other colors by most color-deficient people"); EI p. 93 fn 12 ("best to avoid making crucial data distinctions depend on the difference between red and green"); Munzner p. 235 ("avoid using only the hue channel to encode information"; confusable pairs include red/black, blue/purple, light green/white and brown/green, not only red/green); Ware pp. 99–100 (colour coding creates "a new class of people with a disability"); Few §3.12, PDF 62 (red/yellow/green traffic lights exclude colour-blind readers); Knaflic p. 160 (she uses orange for negative and blue for positive instead). [WCAG 2.2] 1.4.1 Use of Color (A).
- Good / bad: Good: blue accent and grey context, each series labelled at its end. Bad: red "exceeded" and green "safe" (DataPressr's old palette:
#dc2626and#16a34adiffer by only 1.47:1 in luminance, so they merge under deuteranopia and in greyscale). - Check: Render the chart in deuteranopia and protanopia simulation and in greyscale. Can every coded category still be told apart and named? Is there any red/green, red/black, blue/purple or brown/green pair carrying a distinction?
A2. Prefer yellow–blue and light–dark differences
- Rule: Code on the axes that colour-deficient readers keep: light versus dark, and yellow versus blue.
- Source: [Books] Ware p. 125 ("Almost everyone can distinguish colors that vary in a yellow–blue direction"), pp. 134–135 (sequences on black-to-white or yellow-to-blue "will still be clear to color-blind people"; the SmartMoney treemap's yellow–blue option); Few §6.2.2.1, PDF 132 (use "distinct intensities of the same hue, such as light red … and dark red" instead of red/yellow/green).
- Good / bad: Good: dark blue to pale yellow sequential ramp; one hue at three intensities for alert levels. Bad: rainbow or red–green diverging ramp.
- Check: Does every sequential or diverging scale vary monotonically in lightness, with a yellow–blue rather than red–green axis?
A3. Colour-blind safe is not the same as greyscale safe
- Rule: A blue/orange pair survives colour-vision deficiency but may have almost the same lightness, so it fails in greyscale print and for some low-vision readers. Separate the two accents in lightness too, or label both.
- Source: [Books] Munzner p. 140 ("Get It Right in Black and White", after Stone: the most crucial aspects must be "legible even if the image is transformed from full color to black and white"); Ware p. 143 ("Never make the difference only through chromatic variation").
- Good / bad: Good: dark blue accent with a lighter orange second accent, both directly labelled. Bad: DataPressr's
accent#2563ebandaccent2#ea580c, which differ by only 1.45:1 in luminance; they pass the CVD check but look alike in greyscale. - Check: In a greyscale render, are the two accents different by at least about 1.5:1 in luminance, or is each labelled?
A4. Small marks need stronger colour
- Rule: Colour fades in small areas (small-field colour blindness affects everyone); dots, thin lines and small legend swatches need saturated, dark colours.
- Source: [Books] Ware p. 125 ("at least half a degree of visual angle is probably a minimum size" for colour codes; small objects need strong colours); Munzner p. 224 ("hue is harder to distinguish in small regions than large regions"; use "bright, highly saturated colors" for small regions); Tufte EI p. 82 (Imhof: strong colour on small areas).
- Good / bad: Good: 2 px lines in a dark accent. Bad: 1 px lines in a pastel palette, distinguishable only in a 400 px legend swatch.
- Check: At phone size, can the hue of the thinnest line and the smallest dot still be named?
B. Contrast
B1. Text: 4.5:1, large text 3:1
- Rule: All chart text, including tick labels, notes and the source line, reaches 4.5:1 against its background; text at least 24 px (or 18.66 px bold) as rendered may drop to 3:1.
- Source: [WCAG 2.2] 1.4.3 (AA). [Books] Ware p. 94 gives a perceptual floor of 3:1 for text and detail ("More is better"); Knaflic p. 230 says to check contrast and points to WCAG but gives no number.
- Good / bad: Good: grey labels in
#4b5563(7.6:1) or#6b7280(4.8:1). Bad: labels in#9ca3af(2.5:1), a common "subtle grey". - Check: Compute the contrast of every text fill against the background. Any below 4.5:1 that is not large text? (DataPressr's
chart-contrastcheck does this.)
B2. Data marks: 3:1 for anything the reader must see
- Rule: Lines, bars, dots, reference lines and symbols needed to understand the chart reach 3:1 against the background and against adjacent marks.
- Source: [WCAG 2.2] 1.4.11 Non-text Contrast (AA). [Books] Ware p. 94 and p. 143 (luminance contrast carries detail).
- Good / bad: Good: accent line
#2563eb(5.2:1). Bad: a context-grey series#b6bcc6(1.9:1) that the text names and asks the reader to compare. - Check: For each data mark the prose refers to, is its colour at least 3:1 against the background?
B3. The deliberate exception: faint context and structure
- Rule: Gridlines, frames and unnamed context series may fall below 3:1 only if the information they carry is also available another way (values labelled, the argument carried by the accent and its label). Write the exception into the chart plan.
- Source: [WCAG 2.2] 1.4.11 applies to graphics "required to understand the content", so decorative or redundant structure is exempt. [Books] Tufte VE p. 73 (smallest effective difference); Few §5.2.1.2, PDF 90 ("just visible enough"). This is where beautiful.md T1–T2 and accessibility meet.
- Good / bad: Good: faint grey lines for 30 other countries, with the accent country and the median labelled and above 3:1. Bad: two faint grey lines, one of which the headline is about.
- Check: List every element below 3:1. Is each one either decorative or redundant with a label or another mark?
B4. Never put text on a busy or mid-tone background
- Rule: Labels sit on a plain, light background or a solid fill with enough contrast; avoid gradients, images and equiluminant colour behind text.
- Source: [Books] Ware p. 115 (yellow text on a blue gradient: "considerable luminance contrast in addition to color contrast" is needed, "especially if the colored patterns are small"); Munzner p. 224 (low saturation for large backgrounds).
- Good / bad: Good: white label inside a dark bar, checked for contrast. Bad: dark text across a mid-blue band; text over a photograph.
- Check: Does any text cross a change of background colour? If so, does it pass 4.5:1 against every background it touches?
C. Text size and legibility
C1. Size for the rendered size, not the authored size
- Rule: Chart text must be at least 11 CSS px as displayed on a phone (12–13 is better). A 720 px SVG with 12 px text scaled to a 360 px phone renders at about 6 px.
- Source: [Practice] Apple Human Interface Guidelines minimum 11 pt (default body 17 pt); Android/Material body 14–16 sp; DataPressr
chart-text-sizeuses 11 px. [WCAG 2.2] sets no minimum size; 1.4.4 requires text to survive 200% zoom, which text baked into an image cannot do well. [Books] Munzner p. 124 ("characters as little as nine pixels high are easily readable" on a pixel grid, the smallest figure in the books); Lupton p. 39 (size is relative to context; 8 pt captions in print); Lupton p. 136 (visually impaired readers "have difficulty with small type"). - Good / bad: Good: a separate phone chart, 360 px wide, with 13 px ticks. Bad: the desktop chart scaled down.
- Check: Multiply each text size by (display width ÷ SVG width). Is the smallest result at least 11 px on a 390 px phone?
C2. Choose faces and settings for legibility at small sizes
- Rule: Use one legible family with a large x-height, in upper and lower case; avoid all-caps labels, condensed or light weights, and rotated text.
- Source: [Books] Few §7.3.3, PDF 145 ("Use the most legible font you can find"); Lupton pp. 39–41 (large x-height stays legible small; display faces "look too fragile when reduced"); Lupton p. 73 (strongly anti-aliased small type looks blurry); Tufte VDQI p. 183 (upper and lower case; all capitals are unfriendly); Munzner p. 124 ("Tilted Text Isn't Legible"); Knaflic p. 126 (rotate the chart, not the text); Munari, "Poems and Telegrams" (quick legibility depends on word shape).
- Good / bad: Good: system UI sans at 13 px, regular weight. Bad: 10 px light condensed capitals at 45°.
- Check: Is any text rotated, in all caps beyond a short label, or in a light or condensed weight below 14 px?
C3. Don't bake essential text into images where live text is possible
- Rule: Prefer SVG with real
<text>(selectable, translatable, scalable) over PNG; where a raster is needed (social cards), repeat the essential words in the post text and alt text. - Source: [WCAG 2.2] 1.4.5 Images of Text (AA); 1.4.4 Resize Text. [Books] silent.
- Check: Is every chart on the web page an SVG with live text, or, if raster, is its text repeated in alt text or nearby prose?
D. Redundant encoding and direct labels
D1. Label data directly; avoid legends
- Rule: Name each series on or next to its marks; a legend forces colour matching, which colour-deficient and low-vision readers cannot do.
- Source: [Books] Knaflic p. 230 ("directly label your data rather than using legends. This is especially useful for colorblind or visually impaired users"); Tufte VDQI p. 183 (labels on the graphic, no legend); VE p. 98 ("codes obstruct parallelism; replacing codes with direct labels unifies the information").
- Good / bad: Good: "Germany 42%" at the line's end. Bad: a colour key at the bottom; prose that says "the red line".
- Check: Is there a legend? Does any text refer to a mark by its colour or look ("red", "dashed", "black dot")?
D2. Encode the key distinction twice
- Rule: Use redundant channels for the distinction that matters: colour plus label, colour plus dash, colour plus position, or lightness plus hue.
- Source: [Books] Munzner p. 97 ("Multiple channels can be combined to redundantly encode the same attribute"); Knaflic p. 154 ("some redundancy of signals … make sure everyone in your audience can fully see"); Tufte EI p. 93 ("Redundant and partially overlapping methods … can yield a sturdy design", but "a crystalline, lucid redundancy will do"); Knaflic p. 230 (white outlines between stacked segments, "without relying only on color").
- Good / bad: Good: projection drawn dashed and labelled "projected". Bad: projection distinguished only by a lighter shade of the same hue.
- Check: For each colour distinction, name the second channel that also carries it.
D3. Patterns and textures only with care
- Rule: If a non-colour fill is needed (greyscale print), use well-separated textures; avoid fine hatching that vibrates.
- Source: [Books] Ware p. 173 (orientation codes need at least about 30° difference); Tufte VDQI pp. 107–112 (moiré hatching is chartjunk; use grey tints and words instead, p. 111).
- Check: Is any fill hatched or striped? If so, is it coarse, low-contrast and labelled as well?
E. Non-visual access: alt text, descriptions and data
E1. Every chart has alt text that states the finding, the chart type and the key values
- Rule: One or two sentences: what kind of chart, what it shows, and the numbers that make the point. The takeaway title is not enough on its own.
- Source: [Books] Knaflic pp. 229–230 (via Amy Cesal: screen readers read alt text aloud and "cannot be sped up"; "Good alt text includes one sentence of what the chart is, including the chart type … It should also include a link to a CSV"); Lupton pp. 136–137 (screen readers "linearize websites into a continuous text"; use alt tags, captions and descriptions). [WCAG 2.2] 1.1.1 Non-text Content (A).
- Good / bad: Good: "Line chart: wind overtook coal in UK electricity in 2024, rising from 1% in 2000 to 30%, while coal fell from 32% to under 1%." Bad: "Chart showing UK electricity." or "chart.svg".
- Check: Does every chart image have alt text that names the chart type, states the finding and includes at least the start and end (or highest and lowest) values?
E2. Give the data, not just a picture of it
- Rule: Link the underlying data (CSV) and, for charts with up to about 20 values, consider a small HTML table next to or below the chart; tables should use real header cells.
- Source: [Books] Knaflic p. 230 (link to a CSV so readers can tab through the data); Tufte VDQI p. 56 ("Tables usually outperform graphics in reporting on small data sets of 20 numbers or less"); Lupton p. 135 ("Structure trumps presentation"; structural markup makes content "accessible to diverse users"); Lupton p. 171 (layout tables hurt screen-reader users; "think in linear terms"). [WCAG 2.2] 1.3.1 Info and Relationships (A): data tables need
<th>and captions. - Good / bad: Good: chart, then "Download the data (CSV)", with a 6-row table on the page for the key comparison. Bad: data available only by reading values off the picture.
- Check: Is there a working data link for every chart? If a table is present, does it use header cells and a caption?
E3. Give SVGs an accessible name and description
- Rule: Inline or embedded SVG charts carry
role="img", a<title>(the takeaway) and a<desc>(subtitle, key values, source), and the page<img>still has alt text. - Source: [WCAG 2.2] 1.1.1, 4.1.2 Name, Role, Value (A). [Books] silent (no book covers SVG or ARIA).
- Check: Does each SVG have
role="img",<title>and<desc>, and does each<img>embedding it have alt text?
E4. Linear reading order makes sense
- Rule: Read top to bottom as a screen reader would, the page still makes sense: the sentence that sets up a chart comes before it, the chart's alt text says what it shows, and nothing depends on seeing two things side by side.
- Source: [Books] Lupton pp. 136–137 (test the linearised version), p. 171 ("Linear thinking helps not only sight-impaired audiences but also the users of mobile devices"). [WCAG 2.2] 1.3.2 Meaningful Sequence (A).
- Check: Read the page as plain text with images replaced by their alt text. Is every claim still supported?
F. Plain language and cognitive load
F1. Put the point in words, at the top
- Rule: A takeaway title states the conclusion; it lowers cognitive load for everyone and is what most readers repeat.
- Source: [Books] Knaflic p. 230 ("When the graph title includes the point, the cognitive load of understanding the chart decreases"; people "rephrase the title of the graph when asked to interpret"); Knaflic p. 226 (state the conclusion in words); Knaflic p. 191 ("using words wisely" is the simplest accessibility gain).
- Check: Does each chart title state a finding in plain words, which a reader could repeat as the meaning of the chart?
F2. Use the audience's words; spell out acronyms; avoid codes
- Rule: No jargon, abbreviations or variable codes on charts; define technical terms where first used.
- Source: [Books] Few §5.1.1, PDF 83 ("use its audience's vocabulary"); Knaflic p. 307 (spell out acronyms; "This isn't about dumbing anything down"); Tufte VDQI p. 183 (words spelled out, no codes); CSPP p. 11 (low-resolution formats force "acronyms, phrase fragments, clipped jargon"). [WCAG 2.2] 3.1.3 Unusual Words, 3.1.4 Abbreviations, 3.1.5 Reading Level (AAA: lower secondary level, or a simpler version).
- Check: Does any chart contain an acronym, unit code or column name that the page has not defined? Would a 14-year-old understand the title?
F3. Limit what must be held in mind
- Rule: At most about four emphasised elements per chart; one idea per chart; no lookups across charts.
- Source: [Books] Ware pp. 188, 352–353 (visual working memory holds three to five objects); Munzner pp. 131–133 ("eyes beat memory"); Few §5.2.2.2, PDF 100.
- Check: Count emphasised series plus annotations; more than four is a review trigger.
G. Motion, animation and flicker
G1. No flashing, no blinking
- Rule: Nothing flashes more than three times a second; avoid blinking and flicker entirely in stories.
- Source: [WCAG 2.2] 2.3.1 Three Flashes or Below Threshold (A). [Books] Ware p. 62 (flashing scenes in a 1997 cartoon caused convulsions in more than 700 Japanese children; stripes near 3 cycles per degree and flicker near 20 Hz are most dangerous); Munzner p. 239 ("Flicker and blinking are so difficult to ignore that they can be very annoying"); Few §4.2.4, PDF 71.
- Check: Does anything flash, blink or flicker? Are there high-contrast stripe patterns over large areas?
G2. Motion attracts attention; use it rarely and let readers stop it
- Rule: Prefer static small multiples to animation; if motion is used, it must be pausable, short, and off when the reader prefers reduced motion.
- Source: [Books] Munzner p. 133 ("seeing all the frames at once side by side can be more effective than animation"); Ware p. 147 (moving targets grab attention 20° from fixation, so motion competes with reading); Tufte VE pp. 20–24 (the storm animation shows its scales for only 14 of 315 seconds; "Terrific television but lousy science"), VE p. 64 (Nelms: "movement attracts attention, it also diminishes visibility"). [WCAG 2.2] 2.2.2 Pause, Stop, Hide (A) for anything moving more than 5 s; 2.3.3 Animation from Interactions (AAA); CSS
prefers-reduced-motion. - Check: Is there any animation? If so, does it stop by itself within 5 s or have a pause control, and does it respect
prefers-reduced-motion?
H. Phones, zoom and older readers
H1. Build a phone chart; don't shrink the desktop one
- Rule: Ship a phone variant with fewer ticks, shorter labels and the same title, labels and source; it must fit one screen.
- Source: [WCAG 2.2] 1.4.10 Reflow (AA: 320 CSS px without two-way scrolling, except where two dimensions are needed for meaning). [Books] Lupton p. 171 (mobile devices, "where space is tight"); otherwise silent on phones.
- Check: At 320–390 px wide, does each chart fit without horizontal scrolling, with text ≥ 11 px?
H2. Plan for older eyes
- Rule: Assume a share of readers have reduced focusing range, lower contrast sensitivity and more glare: prefer higher contrast and larger type than the minimums.
- Source: [Books] Ware p. 41 (accommodation falls about 2 diopters per decade; most people need reading glasses near 48). This is the only ageing material in the library. [Practice] Aim for 7:1 text contrast (WCAG 1.4.6 AAA) on primary labels where the design allows.
- Check: Are the title and the key annotation at least 4.5:1 and preferably 7:1, at a size larger than the tick labels?
H3. Dark mode
- Rule: If the site has a dark theme, check every chart in it: colours chosen for white backgrounds often fail on dark ones, and a white SVG background in dark mode glares.
- Source: [Practice]; [WCAG 2.2] contrast criteria apply in each theme. [Books] silent.
- Check: Is the chart either on its own explicit light background or recoloured for dark mode, and does it pass B1–B2 in both?
Checklist for an agent
Run on every chart and story before publishing. Items marked (auto) can be computed from the SVG and page.
- (auto) Every text fill ≥ 4.5:1, or ≥ 3:1 if large. [B1]
- (auto) Every data mark the prose names ≥ 3:1. [B2]
- Every element below 3:1 is decorative or redundant, and listed in the chart plan. [B3]
- (auto) No red/green, red/black, blue/purple or brown/green pair carries a distinction; deuteranopia and protanopia renders checked. [A1]
- (auto) The accents differ by ≥ 1.5:1 in luminance, or each is labelled. [A3]
- (auto) Smallest rendered text ≥ 11 px on a 390 px phone. [C1]
- (auto) No rotated text; no all-caps labels beyond a few characters. [C2]
- No legend; no prose reference to a mark's colour or look. [D1]
- The key distinction is carried by two channels. [D2]
- (auto) Every
<img>has alt text naming chart type, finding and key values. [E1] - (auto) Every chart links its data. [E2]
- (auto) Every SVG has
role="img",<title>,<desc>. [E3] - The page reads correctly as linear text with alt text. [E4]
- Each title states the finding in plain words; no undefined acronyms or codes. [F1–F2]
- (auto) No animation, or animation that stops within 5 s and honours reduced motion. [motion G1–G2]
- (auto) Each chart fits 320–390 px without horizontal scroll. [H1]