Text on the front page is failing clolr contrast testing. Testing was conducted using the Color Contrast Analyzer plugin for Chrome.

| Comment | File | Size | Author |
|---|---|---|---|
| #9 | umami-darker-deep-sea-3001683-9.patch | 8.3 KB | shaal |
| #9 | umami-darker-deep-sea-result.jpg | 151.58 KB | shaal |
| #7 | recipe-page-a11y-issue-closeup.png | 25.38 KB | shaal |
| #5 | recipe-page-a11y-issue.jpg | 190.28 KB | shaal |
| contrast-wcag-aa-small.png | 3.41 MB | jollysolutions |
Comments
Comment #2
mgiffordThis is important for backgrounds with CSS gradients & images.
Comment #3
bn_code commentedComment #4
bn_code commentedComment #5
shaalI tested the pages for a11y issues (color contrast) using Firefox Nightly.
After 8.7.x already includes the darker background to hero text, the only 1 issue I found was the contrast Home link in the breadcrumbs.
Comment #6
andrewmacpherson commentedMore infio please. Which text is it? What contrast does it report? the issue summary doesn't say. I'm reviewing this on a phone and I can't make out what's in the screenshot.
Comment #7
shaalIn
/articlesand/recipespages,Below the Umami logo there are breadcrumb links.
It also sits on top of
background-color: #fbf5ee.The
Homelink in the breadcrumbs hasFirefox A11y inspector shows Contrast: 4.34 with an exclamation mark.
Here's a close-up of the screenshot:

Comment #8
andrewmacpherson commentedGood catch. I think this slipped past us on other accessibility reviews. This foreground/background combination isn't used in many places.
#00836d text against white background - contrast 4.7:1 - pass.
#00836d text against #fbf5ee background - contrast 4.34:1 - fail.
So let's review where else the latter combination is seen:
Note the contact form buttons use the green as a background colour, on a #fbf5ee page background. (This is fine, the ratio required for WCAG Non-text contrast is 3:1)
To fix this, it can be darkened. An good way to do this is to treat it as a HSV, and change the V component only.
Before:
#00836d - hsv(169,255,131)
After:
#008068 - hsv(169,255,128) - same hue and saturation
#008068 on #fbf5ee has contrast 4.52:1
I think we can change this colour everywhere it is used.
Comment #9
shaalI created a patch that change the colour #00836d to #008068.
It affects 3 CSS files, and 4 SVG icons.
Here's the result of Firefox Nightly a11y contrast testing tool (4.52:1 - passed!)

Comment #10
andrewmacpherson commentedClearer title, better for the commit log.
I dunno what we call this colour. Peach, salmon, or whatever.
Will review patch when I'm on a big computer.
Comment #11
andrewmacpherson commentedGood stuff, no instances of the old colour left. RTBC, assuming the designer/maintainer are OK with it.
This is how little difference it makes to keep the WCAG threshold gods happy: https://contrast-ratio.com/#%23008068-on-%2300836d
Comment #12
andrewmacpherson commentedComment #14
andrewmacpherson commentedThe test failure is unrelatrd to the changes in the patch. Lots of CSS patches are running into this bug in our test framework. #2990645: "Build Successful" is treated as a test failure.
Comment #15
kjay commentedFrom the design perspective, this looks good to me and is slight enough to make little difference to the design.
Comment #17
lauriiiThank you for the confirmation @kjay! Committed d4fa72e and pushed to 8.7.x. Thanks!
Comment #19
andrewmacpherson commentedfixing accessibility tag