Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Dec 7, 2025

Sidebar

Light

Before: The muted grey used for text like "Total Samples" is #8b949e with a contrast ratio of 3.07, below the WCAG AA guideline of 4.5.

After: #6f767e is 4.59, Lighthouse accessibility audit goes from 95% to 100%.

image image

Dark

Before: #6e7681 is 4.11.

After: #757e8a is 4.6.

image image

Tooltip

Make the tooltip location match the (unhighlighted) source code: use --text-secondary (instead of --text-muted) on --bg-tertiary.

Light

2.59 -> 4.56

image image

Dark

3.31 -> 4.94

image image

Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@pablogsal pablogsal merged commit 3fa1425 into python:main Dec 8, 2025
52 checks passed
@hugovk hugovk deleted the 3.15-tachyon-flamegraph-contrast branch December 8, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants