WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Browser zooming sufficient for WCAG 1.4.4 (resize text)

for

From: Frances de Waal
Date: Jun 8, 2015 2:26AM


If the media-queries are set in px units, the layout will respond to the viewport width. In a default browser setting the complete layout will scale when zooming. A responsive layout with media-queries set in px will respond to the combination of both viewport width and zoom factor.

If the user changed the browser settings so that only the text will scale when zooming, the layout will only respond to the viewport width and not to the zoom factor. If the media-queries are set in em units though, the layout will also respond to the zoom factor.

Frances de Waal
www.waalweb.nl
classroom.w3devcampus.com/


> Op 8 jun. 2015, om 10:01 heeft _mallory < <EMAIL REMOVED> > het volgende geschreven:
>
> On Sun, Jun 07, 2015 at 03:40:56PM +0100, Patrick H. Lauke wrote:
>> On 07/06/2015 13:35, Karl Groves wrote:
>>> Whitney,
>>>
>>> That's due to the move toward rem units. When a site is built using
>>> rem units the breakpoints can be triggered when the page is zoomed.
>>
>> Actually, nothing to do with rem units. When zooming in desktop
>> browsers, the internal representation of the viewport changes
>> accordingly (so say an 800px wide window zoomed to 200% has an
>> effective viewport of 400px), so triggers different @media viewport
>> sizes. Unless I'm misunderstanding the original question...
>
> I first saw this in opera (presto), before rem existed. But I don't believe I
> see it in all browsers today.
>
> _mallory
> > > >