EuroPython / website

Repository for the EuroPython 2022+ website.
https://europython.eu
21 stars 60 forks source link

A11y: use black for schedule header to fix contrast #776

Closed hugovk closed 4 days ago

hugovk commented 4 days ago

For https://github.com/EuroPython/website/issues/682.

Before

Use primary colour (dark blue #0409e7) for schedule table headers. The ratio on the advanced #D34847 background is 2.17:1: https://webaim.org/resources/contrastchecker/?fcolor=000000&bcolor=D34847

image

After

Use black as the foreground colour. The ratio on the advanced #D34847 background is 4.78:1 https://webaim.org/resources/contrastchecker/?fcolor=FFFFFF&bcolor=FF0000

The other levels all remain above the WCAG AA min of 4.5:1.

image

vercel[bot] commented 4 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ep2024 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 1:39pm