Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mherchel created an issue. See original summary.

mherchel’s picture

Status: Active » Needs review
FileSize
935 bytes

This 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

scorbine’s picture

Status: Needs review » Reviewed & tested by the community
scorbine’s picture

Status: Reviewed & tested by the community » Needs work

The 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.

mherchel’s picture

Status: Needs work » Needs review

It could be because this passes the AA but not AAA accessible contrast rating.

Drupal core only targets AA

scorbine’s picture

Status: Needs review » Reviewed & tested by the community
andy-blum’s picture

Status: Reviewed & tested by the community » Needs work
FileSize
20.29 KB
204.04 KB
208.11 KB
202.8 KB

The styles for tab:hover fail color contrast.

mherchel’s picture

Status: Needs work » Needs review

The 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

andy-blum’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
207.59 KB
205.94 KB

Gotcha. Assuming hover styles use blue-20 or blue-10, the hover state contrast passes.

  • lauriii committed 2c2da2b on 9.3.x
    Issue #3242469 by mherchel, andy-blum, scorbine: Insufficient contrast...

  • lauriii committed 3cadbec on 9.2.x
    Issue #3242469 by mherchel, andy-blum, scorbine: Insufficient contrast...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Committed 2c2da2b and pushed to 9.3.x. Also cherry-picked to 9.2.x because Olivero is experimental. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.