Sub topic 13
Readability and accessibility checks
This chapter assumes you can set type in a layout tool, know the terms leading and alignment, and have read the earlier chapters on hierarchy, styles and color. Here you run a short set of checks on a finished layout before it goes to print or is exported as a PDF.
Why check at the end
A layout can follow the grid and the hierarchy and still be hard to read. Pale captions, long lines and text over photos are common causes. A brochure is read standing up in poor light. A report is read for an hour. Both need a deliberate check.
Check 1: type size and line length
Use these working ranges, then adjust for your typeface.
| Element | Typical range |
|---|---|
| Body text in print | 9–11 pt |
| Body text on screen | 12 pt or larger |
| Footnotes and captions | not below 7–8 pt |
| Characters per line | 45–75 |
Lines much longer than 75 characters tire the eye. If a wide column forces this, increase leading or add a column. Left-aligned text with a ragged right edge is usually easier to read than justified text in narrow columns, because justification creates uneven word gaps.
Check 2: contrast
Contrast is the difference in brightness between text and its background. The WCAG guidelines (Web Content Accessibility Guidelines) give a measurable ratio. They ask for at least 4.5:1 for normal text and 3:1 for large text, which is roughly 18 pt or 14 pt bold. Print is not bound by WCAG, but the same numbers are a sound target, and they apply directly to PDFs viewed on screen.
This script computes the ratio for two colors.
def channel(value):
c = value / 255
return c / 12.92 if c <= 0.03928 else ((c + 0.055) / 1.055) ** 2.4
def luminance(rgb):
r, g, b = (channel(v) for v in rgb)
return 0.2126 * r + 0.7152 * g + 0.0722 * b
def contrast(fg, bg):
l1, l2 = sorted((luminance(fg), luminance(bg)), reverse=True)
return (l1 + 0.05) / (l2 + 0.05)
white = (255, 255, 255)
print(round(contrast((118, 118, 118), white), 2)) # about 4.54, passes
print(round(contrast((153, 153, 153), white), 2)) # about 2.85, failsAlso avoid using color as the only signal. A chart that separates data only by red and green fails for readers with color vision deficiency. Add labels, patterns or different line styles.
Check 3: reading order and structure
Reading order is the sequence in which a screen reader or text-extraction tool reads the page. It follows the order of the content in the file, which can differ from the visual order. Check these points:
- Apply heading styles (Heading 1, Heading 2) to every heading, so the export can tag them as headings. Do not format headings by hand.
- Check that text frames are threaded in reading order, and that sidebars and callouts come after the text they relate to.
- Write alt text for every meaningful image. Mark purely decorative images, such as rules and background textures, as artifacts so they are skipped.
- Use real table structure with header rows, not tabs or spaces.
- Set the document language and title in the export settings.
Check 4: export and test
Export to a tagged PDF, which stores structure along with the visuals. Then test it:
- Run the accessibility checker in your PDF reader.
- Open the Tags or Reading Order panel and compare it with the page.
- Select all text and paste it into a plain text editor. Scrambled paragraphs mean the order is wrong.
- Print a draft in grayscale at actual size and read it at arm's length.
Exercise
A caption in your report is set in light gray (#999999) at 8 pt on a white page. Does it meet the 4.5:1 target, and what are two ways to fix it?
Show answer
No. Light gray #999999 on white gives a ratio of about 2.85:1. Darken the text, for example to #767676 (about 4.54:1) or darker, and consider raising the size slightly. Change the caption paragraph style so every caption updates together.