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

Accessibility: dark mode text fails WCAG contrast minimums #687

Closed
calebfoss opened this issue Jan 27, 2025 · 1 comment
Closed

Accessibility: dark mode text fails WCAG contrast minimums #687

calebfoss opened this issue Jan 27, 2025 · 1 comment
Labels
Bug Something isn't working

Comments

@calebfoss
Copy link
Contributor

Most appropriate sections of the p5.js website?

Reference

What is your operating system?

None

Web browser and version

No response

Actual Behavior

Blue text on a dark gray background with extremely low contrast making it difficult to read

The text in the Syntax section of references pages is being inverted, so it's #2012CC on #212121 with an extremely low contrast ratio of 1.54:1, which fails all WCAG standards.

Black text on a dark gray background with extremely low contrast making it difficult to read

In monochrome dark mode, the ratio is even lower at 1.3:1.

Expected Behavior

Colors selected that meet accessible contrast minimums.

Steps to reproduce

No response

Would you like to work on the issue?

No

@calebfoss calebfoss added the Bug Something isn't working label Jan 27, 2025
@davepagurek
Copy link
Collaborator

Thanks @calebfoss! This definitely needs addressing, and we have someone looking into it in #680, so I'm going to close this one as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants