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

Add support for WCAG 3 contrast check with APCA #302

Closed
mkalamarz opened this issue Aug 22, 2022 · 4 comments · Fixed by #353
Closed

Add support for WCAG 3 contrast check with APCA #302

mkalamarz opened this issue Aug 22, 2022 · 4 comments · Fixed by #353
Labels
Milestone

Comments

@mkalamarz
Copy link

Currently, chroma.contrast() caters only to WCAG 2 standard. But it sometimes behaves unexpectedly.

image

Would you consider adding APCA (Advanced Perceptual Contrast Algorithm) contrast check as parameter to this or as a new function?

@jshmllr
Copy link

jshmllr commented Nov 11, 2022

Bump

1 similar comment
@HM100
Copy link

HM100 commented Apr 7, 2023

Bump

@gka gka added this to the 3.1 milestone Aug 17, 2024
@gka
Copy link
Owner

gka commented Aug 17, 2024

yes, we'll add this in the next release

@gka gka added the feature label Aug 17, 2024
@insilications
Copy link

Thanks for adding this feature. It will help a lot.

gka added a commit that referenced this issue Aug 18, 2024
@gka gka closed this as completed in #353 Aug 19, 2024
@gka gka closed this as completed in fb4bdf2 Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants