W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2015

Viewport Units for font sizes

From: Eric Eggert <ee@w3.org>
Date: Tue, 14 Apr 2015 16:20:58 +0200
To: WCAG <w3c-wai-gl@w3.org>
Message-ID: <4D54EF4A-1963-4BDF-BF9C-C46A407B34FC@w3.org>
Hi all,

as it looks[1], viewport units for font-sizes would be great for 
responsive web design but apparently are not accessible _at all_ because 
they are defined as fixed measurements – almost like pixels. And as 
the viewport is getting smaller when you zoom in, the calculated font 
size stays the same.

Take a look at this example and try to scale it in a browser that 
supports viewport units[2]:

http://codepen.io/vcurd/full/ByerKw

I wonder if people are aware of this and if we might to add a failure 
technique. I also wonder if we may be able to turn the car around and 
work out an implementation with CSS WG that allows implementation… (I 
don’t know if there is a solution that removes the main benefit for 
people using low vision that they can get the mobile view on a desktop 
and don’t need to scroll horizontally, if properly implemented.)

Best, Eric

[1] https://twitter.com/SaraSoueidan/status/587694001500872704
[2] http://caniuse.com/#feat=viewport-units


--

Eric Eggert
Web Accessibility Specialist
Web Accessibility Initiative (WAI) at Wold Wide Web Consortium (W3C)
Received on Tuesday, 14 April 2015 14:21:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:34:19 UTC