https://uxmovement.com/wp-content/uploads/2019/10/cca-button...
You might find it aesthetically inferior to black on yellow (or whatever) but there’s nothing inherently illegible about it.
To the grandparent poster chadlavi:
> This is so stupid it hurts. It doesn't pass contrast guidelines because bright things on bright things are hard to distinguish
You are misunderstanding the author’s claims, and then responding with mean-spirited insults. Try reading the whole article again more carefully, and with an open mind. If you are confused about something in specific a person who has studied color science a bit can try to clear up any questions you have.
The author is not suggesting that you should put white text on a middle-blue (or whatever) background, but merely pointing out that the WCAG heuristic for contrast is not in accord with human lightness perception.
The white-on-blue vs. black-on-blue is just a demonstrative example, showing that even though white-on-blue has higher contrast according to human perception, the WCAG heuristic instead rates the contrast of black-on-blue to be higher. This happens because the WCAG heuristic assumes human response to light intensity to be logarithmic, an inaccurate model which breaks down quite badly when you have dark text on a dark background.
In practice both white-on-medium-blue and black-on-medium-blue buttons have relatively low contrast and should be avoided where possible. With white text a darker background would be better. With black text a (much) lighter background would be better.
I mean, how scalable is that in the long run?
Every average obscures a bag of unknown causative factors that we have yet to tease apart.
As our medical knowledge increases and the number of conditions we can diagnose rise, the 'lowest average for each condition' monotonically decreases as a simple mathematical fact.
Without an automated solution to making things accessible to every condition, designers and implementors will be buried under a mound of individual cases.
Come to think of it, someone should have already done the work and color sets should be published somewhere.
The entire point is that the designers eye can not possibly percieved things the same as every other person. To evaluate readability you should look not at the average rating from all users but the lowest average for each condition/group as they will be the ones who cant read it.
I had to stop reading at the defense of gray text - there's no excuse for that. Ever.