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: Some elements don't meet color contrast ratio requirements #238

Open
bedmison opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@bedmison
Copy link
Member

bedmison commented Jan 17, 2025

This manifests everywhere that the current theme is being used. The teal labels on the beige backgrounds don't have the necessary contrast.

Additionally, it also shows up in the Code-Mirror theme used.


From the WCAG 2.1 spec:

Ensure all text elements have sufficient color contrast between the text in the foreground and background color behind it.

Success Criterion: Ensure color contrast of at least 4.5:1 for small text or 3:1 for large text, even if text is part of an image. Large text has been defined in the requirements as 18pt (24 CSS pixels) or 14pt bold (19 CSS pixels). Note: Elements found to have a 1:1 ratio are considered "incomplete" and require a manual review.

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

No branches or pull requests

1 participant