🔥 New blog post!

“On compliance vs readability: Generating text colors with CSS”
https://lea.verou.me/blog/2024/contrast-color/

This has been in the making for over a month! 😮‍💨

It includes:
🔥 New #CSS Technique: How can we use widely supported CSS features to automatically pick a text color that is readable over an arbitrary background?
🔥 Original research: What lightness ranges correspond to what color contrast compliance & readability buckets? How are these affected by additional constraints (gamut, chroma, hue)?

On compliance vs readability: Generating text colors with CSS • Lea Verou

@leaverou I'm really happy to see this moving forward, and thank you for your help in doing it.

I also wish the W3C went with something other than the APCA. It's strange that they chose something, uh, unvetted over existing work in this space.

@eric Also, AFAIK W3C has not gone with APCA. WCAG 3 used to mention it, but I believe it no longer does.

@leaverou @eric

"Unvetted" is WCAG 2 contrast, which had no testing, no peer review, and in fact was objected to by stakeholders like IBM back in 2008.

APCA has undergone over three years of public beta testing. The current version has been stable since February 15, 2021, and has had substantial third party expert review, including journal published peer-review, review by PhD-level accessibility experts, and was created with the oversight of W3C/WAI in the Visual Contrast Group and LVTF, which includes members of the US Access Board.

As is well known, the open public testing and open discussion continues at:
https://github.com/Myndex/SAPC-APCA/discussions

WCAG3 did a full reset, starting nearly from scratch. Because visual accessibility is a critical need, APCA guidelines are in public working draft stage as the APC Readability Criteria, a guideline hosted by the non-profit Inclusive Reading Technologies, Inc. https://readtech.org/ARC/

Questions and comments welcome at the GitHub forum linked above.

Myndex SAPC-APCA · Discussions

Explore the GitHub Discussions forum for Myndex SAPC-APCA. Discuss code, ask questions & collaborate with the developer community.

GitHub