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

Show WCAG AA and AAA ratios and thresholds #32

Open
snds opened this issue Apr 13, 2021 · 1 comment
Open

Show WCAG AA and AAA ratios and thresholds #32

snds opened this issue Apr 13, 2021 · 1 comment

Comments

@snds
Copy link

snds commented Apr 13, 2021

It would be extremely useful to see how the values of each scale hold up against WCAG contrast accessibility standards for AA and AAA.

Additionally, it would be valuable to test against a specific color as well as the opacity value of the color. A number of design systems do this to inherit colors of an underlying swatch.

@sayidhe
Copy link

sayidhe commented Aug 20, 2024

Hi @snds, I have added the new function to detect the WCAG AA and AAA ratios and thresholds(color), I put the link below, in case anyone also need it.

https://github.sayidhe.com/color-scale/

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

2 participants