Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
Bartik theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 May 2016 at 00:51 UTC
Updated:
13 Jul 2021 at 10:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
mgiffordGreat. Can you add screenshots? Also foreground/background colors?
Do we need to worry about css gradients or background images too?
Comment #3
afem commentedComment #4
BarisW commentedGreat point! I've tried a few combinations and ended up with the darkest variation of blue in the header (#055a8e) - it has a contrast ratio of 7.34:1
Default state
Hover state
Comment #5
BarisW commentedComment #7
BarisW commentedComment #8
andrewmacpherson commentedThis contrast works well for a11y, so it's just design review that we need now.
#055a8e on #ffffff - contrast 1:7.3 - passes WCAG 2 AAA (great, exceeds out targets)
https://leaverou.github.io/contrast-ratio/#%23055a8e-on-white
#055a8e on #f6f6f6 - contrast 1:6.8 - passes WCAG 2 AA (our target level)
https://leaverou.github.io/contrast-ratio/#%23055a8e-on-%23F6F6F2
Comment #15
djsagar commentedHI,
Patch is applied successfully.
Thanks!
Comment #16
larowlanThis still needs design review
Comment #17
mgiffordtagging.
To compare the blues

https://contrast-ratio.com/#%23055a8e%20-on-%23018FE2
Comment #18
gauravvvv commentedPatch #5, passes the A11y color contrast test.
Still applies in 9.1.
looks good to me.
Comment #19
abhijith s commentedApplied patch #5 and it works fine. Adding screenshots below.
Before patch:

After patch:

RTBC +1
Comment #20
sakthivel m commentedVerified and tested patch #5.
Patch applied successfully and looks good to me.
Expected Results:
#055a8e on #ffffff - contrast 7.34 - Passes AAA level for any size text and AA for user interface components and graphical objects
https://leaverou.github.io/contrast-ratio/#%23055a8e-on-white
Actual Results:
#018FE2 on #ffffff - contrast 3.48 - Passes AA for large text (above 18pt or bold above 14pt) and AA for user interface components and graphical objects
https://contrast-ratio.com/#%23018FE2-on-white
Moved to RTBC
Comment #21
sakthivel m commentedComment #23
lauriiiRemoving the needs design review tag since this has is such a minor change and this is a nice accessibility improvement, and there was a 5 year window for anyone to provide feedback on the designs.
Removing credits for the duplicate screenshots that don't provide any additional information for the issue.
Committed 5245bd8 and pushed to 9.3.x. Thanks!