Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Jul 3, 2024

For #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

Copy link

vercel bot commented Jul 3, 2024

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

@patrick91 patrick91 merged commit 67ea1f3 into EuroPython:main Jul 3, 2024
3 of 5 checks passed
@hugovk hugovk deleted the a11y-schedule-header branch July 3, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants