Skip to content

Fix code comment contrast - #141

Merged
StanFromIreland merged 1 commit into
mainfrom
fix-code-contrast
Sep 28, 2026
Merged

StanFromIreland merged 1 commit into
mainfrom
fix-code-contrast

Conversation

@hugovk

@hugovk hugovk commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Before

The contrast ratio of code comments with the default github-dark theme is 3.04 and below the WCAG AA minimum of 4.5:

image

https://blog.python.org/2025/01/python-3140-alpha-4-is-out/

After

Switching the code theme to github-dark-default improves it to 6.15:

image

https://python-pr-141-python-insider-build-python-insider-c45395be-web.psfhosted.net/2025/01/python-3140-alpha-4-is-out

@psf-cabotage-us-east-2
psf-cabotage-us-east-2 Bot temporarily deployed to python/python-insider/pr-141 September 28, 2026 15:09 Destroyed
@psf-cabotage-us-east-2

psf-cabotage-us-east-2 Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Branch Deploy for pr-141 in Python Insider

Environment has been destroyed.

@StanFromIreland
StanFromIreland merged commit 30868dd into main Sep 28, 2026
5 of 7 checks passed
@StanFromIreland
StanFromIreland deleted the fix-code-contrast branch September 28, 2026 15:47

This branch was successfully deployed

No deployments
python/python-insider/pr-141 — be862335 Deployed Sep 28, 2026 by psf-cabotage-us-east-2[bot]
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