W3C home > Mailing lists > Public > public-respimg@w3.org > March 2015

Re: accessibility and browser zoom

From: Yoav Weiss <yoav@yoav.ws>
Date: Sun, 1 Mar 2015 10:28:34 +0100
Message-ID: <CACj=BEjhGt_D7qaTKxZFkgD=+f2hGUoboiLCJHPsjUUUzJz-Ew@mail.gmail.com>
To: Alice Wonder <alice@domblogger.net>
Cc: public-respimg@w3.org
That sounds like a Firefox bug. Did you try the same with Chrome/Opera?

If it works there, you would probably file a bug with Firefox. If it
doesn't, you should probably file a bug with both :)
On Mar 1, 2015 7:13 AM, "Alice Wonder" <alice@domblogger.net> wrote:

> Hi,
>
> It is hard to find examples of the picture element online that actually
> validate but I have it at this point.
>
> Have my firefox set up and it works.
>
> Did this test :
>
> [picture]
>   [source media="(min-width: 801px)" srcset="Camera_800.jpg"
> type="image/jpeg" /]
>   [source media="(max-width: 800px)" srcset="Camera_400.jpg"
> type="image/jpeg" /]
>   [img src="Camera_800.jpg" alt="Classic Medium Format Camera" /]
> [/picture]
>
> (using [] instead of angle brackets)
>
> When I shring the browser down and reload - it works, the 400 is used.
>
> But - when I ctrl-+ to zoom in and then reload, it also triggers the media
> query, and the result is a way over-stretched 400px version.
>
> What is the proper way to take physical pixels into consideration so that
> people who zoom in due to visual problems don't get a smaller version that
> has been stretched?
>
>
Received on Sunday, 1 March 2015 09:29:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:16 UTC