RE: using relative units of measurement

In terms of meeting SC 1.4.4 Resize Text which allows for scrolling in the direction of text ā€“ yes modern browsers scale pixels and there are no material issues.

In terms of meeting WCAG 2.1 SC 1.4.10 reflow ā€“ Iā€™d content that between fixed breakpoints of RWD with browser zoom you can run into issues when using fixed pixels for layout unless you have built in a lot of margin or many fixed breakpoints.

Jonathan

Jonathan Avila, CPWA
Chief Accessibility Officer
Level Access
jon.avila@levelaccess.com
703.637.8957 office
Visit us online:
Website<http://www.levelaccess.com/> | Twitter<https://twitter.com/LevelAccessA11y> | Facebook<https://www.facebook.com/LevelAccessA11y/> | LinkedIn<https://www.linkedin.com/company/level-access> | Blog<http://www.levelaccess.com/blog/>

[The State of Digital Accessibility 2019 report is here! Download the report today to read the findings. Level Access]<https://levelaccess.com/state-of-digital-accessibility-2019>

The information contained in this transmission may be attorney privileged and/or confidential information intended for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited.

From: Michellanne Li <michellanne.li@gmail.com>
Sent: Saturday, August 17, 2019 3:07 PM
To: WAI IG <w3c-wai-ig@w3.org>
Subject: using relative units of measurement

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

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:34:28 UTC