[med] Color Contrast: Many Pages: Blue text over white background fails contrast ratio
Action Performed:
- Using Chrome, open https://staging.new.expensify.com/
- Press Tab key to focus the 'terms of service' link and press Enter key.
- Measure the color contrast ratio of any blue link against white background.
Expected Result:
The contrast ratio of the text against the background should be at least 4.50:1 for small text and 3.00:1 for large text (14pt bold or 18 pt+).
Actual Result:
The blue links (#0185FF) against white background (#FFFFFF) have a color contrast ratio of 3.62:1.
HTML:
<a href="https://www.expensify.com/privacy"><span style="text-decoration:underline">Privacy Policy</span></a>
CSS:
a {
color: #0185ff;
text-decoration: none;
}
Other occurrences:
- Licenses -> the blue links (#0185FF) against white background (#FFFFFF), have a color contrast ratio of 3.62:1.
- Main chat section
Workaround:
No workaround
Area issue was found in:
Terms of service page, Licenses page, Chat page
Failed WCAG checkpoints
1.4.3
User impact:
Some users won't be able to read the text.
Suggested resolution:
Use a darker shade of blue for text such as #0074E0, which will give a color contrast ratio of 4.59:1 against the white background.
Platform:
Where is this issue occurring?
- Web
Version Number:
**Reproducible in staging?:**Yes
Reproducible in production?:
Notes/Photos/Videos: Any additional supporting documentation
Issue reported by:

So I think I am seeing a pattern here where our brand colors (blue, green) aren't always accessible when used in the UI. So yeah, in the spirit of accessibility, I think it makes sense to have a slightly darker version of blue and green used for various components?
@ogumen when I am testing these myself, which of the following needs to be a pass? What's the difference between WCAG AAA and WCAG AA?

@shawnborton the AA and AAA are different levels of WCAG conformance. The acceptable compliance is WCAG level AA, so this should be met