Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"total perceived color and lightness difference" #222

Open
svgeesus opened this issue Jun 14, 2022 · 2 comments
Open

"total perceived color and lightness difference" #222

svgeesus opened this issue Jun 14, 2022 · 2 comments

Comments

@svgeesus
Copy link

On Visual contrast of text, the "Getting Started" tab, I currently read:

By visual contrast we mean the total perceived color and lightness difference between the text and the background.

This is a good description of total contrast, but I just wanted to point out that neither WCAG 2.1 contrast nor APCA contrast take into account chromatic contrast (the contrast caused purely by hue differences, when the luminance of text and background is identical). Instead, WCAG 2.1 solely considers luminance contrast and APCA estimates lightness contrast.

Possible ways forward:

a) Modify the introductory text, making it clear such as

By visual contrast we mean the total perceived color and lightness difference between the text and the background. Of those, lightness contrast is the primary determinant for legibility and is measured by the APCA algorithm. Currently, chromatic contrast is not measured.

or

b) Add a way to measure chromatic contrast and a way to combine this with lightness contrast to obtain a total score for visual contrast.

I suggest that option a) would be the simpler and faster one to implement.

@Myndex
Copy link
Member

Myndex commented Jun 15, 2022

Hi Chris @svgeesus

In fact, there are color (hue/chroma) modules that extend the functionality of APCA. There are a variety or reasons that they are not being presented at this time, I'd be happy to discuss via email.

Nevertheless, all recent research does show that as far as readability, it's all about the luminance channel, and chroma/hue is not additive to luminance contrast perception (Legge — in that study, fairly low spatial frequency stimuli were used.)

This particular page (the first getting started page in the HowTo tab) came out of the summer 2019 Visual Contrast group, and as there were a lot of other pressing issues before the FPWD, never had a re-write... In re-reading it, that's probably a good idea do now. Part of the struggle at the time was reducing things to plain language, or explaining with minimal jargon. I feel that I have a better handle on that today,

Literally everything else I've written in more recent years has clearly stated that the "Big Kahunas" of readability are spatial frequency and luminance contrast.

The recent writing and developmental work has not been added into Silver, but from your recent comments I'm working on that task now.

Thank you for reading,

Andy

@Myndex
Copy link
Member

Myndex commented Jun 15, 2022

Hi Chris @svgeesus

To Add: Actually, I did already rewrite that paragraph in PR w3c/silver#630 but it has yet to be merged, and I don't know when it will be. I've been considering setting up a repo with a version that I can keep up to date to be viewable...

@cwadamsoforacle cwadamsoforacle transferred this issue from w3c/silver Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants