WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: size of text when determining color contrast

for

From: Patrick H. Lauke
Date: Oct 6, 2014 4:32PM


On 06/10/2014 18:28, Jukka K. Korpela wrote:
> It's the "pixel" (px) concept that varies by device. Well, at least to
> the same extent as any other CSS "absolute" length unit.

Not just by device. On the same device, depending on whether or not you
set a meta viewport of @viewport in CSS, 1px changes dramatically.

> So what is the practical problem? WCAG 2.0 gives criteria for "large"
> text. The physical meaning of pt valued (and other) font sizes varies,
> but conformance to WCAG 2.0 is still achieved if you meet the
> requirements using *its* definitions for "large text".

The practical problem is that 1px is a unit mostly divorced from
reality, as it depends on a variety of factors. Sure, of course you can
check strictly by the definition of WCAG 2, but a pass/fail will have no
real connection to reality, sometimes quite dramatically so, which in
turn means pass/fail will be completely irrelevant as it won't reflect
real-world actual accessibility...

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke