WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Resize Text - rem with a px fallback

for

From: Jukka K. Korpela
Date: Jun 25, 2014 6:38AM


2014-06-25 13:26, Alistair Duggin wrote:

> I’m working on a responsive website and to set the size of the fonts
> we are using rem with a fallback in px.

Use the em unit and you won't need a "fallback in px" (which is not
really a fallback but switches to something completely different).

The only thing that you can possibly gain by using rem instead of em is
ease of authoring: you need not calculate multipliers, taking into
account the nesting of elements that may have their font sizes set in em
or percentage. But when you need to consider "fallbacks", authoring
becomes more complicated.

> I’m wondering if text not being resizable in some legacy browsers
> would result in a WCAG 2 fail.

Does it matter? It is surely an accessibility problem, possibly a minor
one, but completely unnecessary in this case.

Yucca