Fixed
Status Update
Comments
ad...@hackeriet.dev <ad...@hackeriet.dev> #2
+1
mi...@google.com <mi...@google.com>
al...@google.com <al...@google.com>
al...@google.com <al...@google.com> #3
Hi there,
I've made a number of changes to this article to address your feedback. Thanks for submitting it, we appreciate it.
Alexandra
Description
These are not “WebAIM guidelines”, the guidelines that WebAIM links to are the Web Content Accessibility Guidelines (WCAG) 2.0. They do not recommend contrast ratios. They require a 4.5:1 contrast ratio. Large text is not defined as “120-150% larger than the default body text” but as 14pt/18.6px and bold or 24px in size. The “ratio” cannot go down to 3:1 in that case, but for text at that size a lower ratio of 3:1 is required.
I couldn’t find any evidence of this. I also think it’s not needed to justify these minimum ratios.
I think this comes from the “rationale for ratios chosen” from the WCAG Understanding document , but that’s not what is referred to there. The 4.5:1 ratio is already a minimum for low vision or CVD users. 7:1 only comes into play at WCAG level AAA, which makes this unnecessary complicated.
And yes, you can increase the contrast from minimums. but there is no recommendation for an “optimal contrast ratio”.
As far as I’m aware, APCA currently uses only text and background color to determine the contrast values and gives suggestions for where to use a color and how large it needs to be in different font-weights. The contrast is calculated first and based on the contrast value, the tool recommends font-weights and where to use the font.
This tool (AFAIK) only calculates the contrast ratio but does not easily provide the lookup table that is linked from the linked DevTools announcement , removing some usefulness.
The WCAG standard in 1.4.1 Use of Color says the same thing with the same words (only without the weasel word “should”, as not doing it is a requirement):
The form example also needs to follow best practices like visual labels.
That feature is inverted color. Windows High Contrast Mode/Color Themes or Increase Contrast settings are different. It’s not super useful to conflate the two.
This report was made possible by my supporters . I thank them very much.