Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This can be seen at https://tugboat-aqrmztryfqsezpvnghut1cszck2wwasr.tugboat.qa/admin/appear...
The text color has a 4.11:1 contrast ratio with the background color. See https://webaim.org/resources/contrastchecker/?fcolor=0D77B5&bcolor=E7EDF1
Comment | File | Size | Author |
---|---|---|---|
#9 | hover-blue-10.png | 205.94 KB | andy-blum |
#9 | hover-blue-20.png | 207.59 KB | andy-blum |
#7 | tab-hover.png | 202.8 KB | andy-blum |
#7 | tab-inactive.png | 208.11 KB | andy-blum |
#7 | tab-active.png | 204.04 KB | andy-blum |
Comments
Comment #2
mherchelThis patch changes the link color from
--color--blue-20
(#0d77b5
) to--color--blue-10
(#0f6292
).This new color has a contrast ratio of 5.58:1. See https://webaim.org/resources/contrastchecker/?fcolor=0F6292&bcolor=E7EDF1
Comment #3
scorbine CreditAttribution: scorbine at Bounteous commentedComment #4
scorbine CreditAttribution: scorbine at Bounteous commentedThe contrast passes on the WebAIM website, but the WAVE browser tool is still showing a contrast error. It could be because this passes the AA but not AAA accessible contrast rating.
Comment #5
mherchelDrupal core only targets AA
Comment #6
scorbine CreditAttribution: scorbine at Bounteous commentedComment #7
andy-blumThe styles for tab:hover fail color contrast.
Comment #8
mherchelThe hover color is being changed by the base link hover styles, which is going to be addressed in #3231744: Replace Olivero usage of --color--blue-50 in text
Comment #9
andy-blumGotcha. Assuming hover styles use blue-20 or blue-10, the hover state contrast passes.
Comment #12
lauriiiCommitted 2c2da2b and pushed to 9.3.x. Also cherry-picked to 9.2.x because Olivero is experimental. Thanks!