HI Lucas,

Great article, and important to consider presbyopia, it affects everyone as they age past 40.

FUN FACT: presbyopia is not due to the eye "degrading" per se, it's more due to the fact that the lens, being cartilage, grows continuously. After 40 it has become so large, and less flexible, the eye's ciliary muscles can no longer pull it into focus.

Minimum Size

> ...no official minimum size for text...

WCAG 2 has no minimum for contrast of 4.5:1, though it does have a minimum for 3:1. But other standards like ISO, ANSI, as well as some future standards we are working on, do set minimums.

A problem as you point out, is that CSS font-size does not specify the actual glyph height. x-height is a more ideal/consistent way to set a font size in this use case, but CSS does not support directly setting font size this way yet.

For instance for a specific font size, Helvetica's x-height is 16% larger than the x-height of Times New Roman.

pt & px

The CSS px is (technically) part of the canvas abstraction layer, officially it's based on "visual angle" regardless of distance. Manufacturers set pixel density based on expected distance of use.

On that subject:

> "Apple recommends sizes from 17 to 34 for headlines..."

As it happens, Apple uses points in their size definitions. The quick way to convert is multiply points by 1.333. For Apple's large default 17pt body/headline, to 34pt title, that's about 22.7px to 45px.

Viewing this Medium article on my Macbook, the h1 title is 42px, h2 is 24px, and h3 & body text is 20px. Of course, here the body text is a serif font with a smaller x-height than the bold h3 subhead.

The 16px thing

16px as the default has been around since the beginnings of the internet. The print corollary is 12pt, which is a common size for books. Newsprint is often 9pt to as small as 8pt, largely for economic reasons. That's about 10.5px to 12px. We in the Visual Contrast group have been lobbying for 12px as an absolute minimum for the future WCAG3, though that's some ways away.

16px is really a minimum for body text that you want people to read. Though again, it depends on the font. 16px may be okay for Verdana, but the equivalent for Times New Roman is more like 20px.

Considering Helvetica as a reference font, it is ideally at least 18px for body text.

Length & Height

A typical newspaper column has about 35-42 characters per line, which also allows for a tighter leading. Line-height needs to increase with line length, so 72 character columns needs more leading.

The CSS line-height is not going to be consistent between font families, just as Times is a different x-height from Verdana. At one time I was suggesting using the ex unit to set line height, but using a unit in the line-height: property can have some unexpected behavior. Instead I "generally" suggest setting line height for body text to the equivalent of about 3ex, i.e. three times the x-height. But again, different glyph designs may indicate more or less.

Thank you for reading.

Andy

Andrew Somers

Director of Research

Inclusive Reading Technologies, Inc.


HI Lucas, was originally published in Tangled Web on Medium, where people are continuing the conversation by highlighting and responding to this story.