- From: Michellanne Li <michellanne.li@gmail.com>
- Date: Sat, 17 Aug 2019 14:07:17 -0500
- To: WAI IG <w3c-wai-ig@w3.org>
Received on Saturday, 17 August 2019 19:08:17 UTC
Hello all, The conventional wisdom is that we should code in relative units of measurement instead of pixels because the former can scale up and down in the browser when the user zooms in and out, and the latter can't. However, on a whim, I tested out some code that used pixels and found that Chrome was able to scale it. I also tested this in Safari. Here is an example in codepen <https://codepen.io/michellanneli/pen/LYPZOvW> of a heading and text in a container that uses both pixels and ems. Have browsers adapted to be able to scale pixels? Is coding in pixels no longer an a11y concern? (Obviously, there are other good reasons to code in relative units of measurement, but I'd like to focus on the a11y reasons in this discussion.) Thanks! Michellanne Li (512) 718-2207 http://www.michellanne.com
Received on Saturday, 17 August 2019 19:08:17 UTC