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

Document the themes that respect WCAG 2.1 AA #31

Open
quentinderoubaix opened this issue Feb 7, 2024 · 1 comment
Open

Document the themes that respect WCAG 2.1 AA #31

quentinderoubaix opened this issue Feb 7, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@quentinderoubaix
Copy link

Currently, no light theme in the provided list respects the color contrasts of WCAG 2.1 AA.
Thus, a website trying to have good accessibility always needs to use a custom theme or change the colors of default themes.

(Optimistic) Proposal:
Document in the README under https://github.com/shikijs/textmate-grammars-themes/tree/main/packages/tm-themes all the themes that respect WCAG 2.1 AA, so that users may choose an accessible theme, without having to check themselves.

@antfu
Copy link
Member

antfu commented Feb 7, 2024

I don't have the knowledge of how to do it. PR welcome if anyone is interested.

@antfu antfu added enhancement New feature or request help wanted Extra attention is needed labels Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants