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

Corrected threshold #472

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Corrected threshold #472

merged 2 commits into from
Dec 8, 2023

Conversation

Myndex
Copy link
Contributor

@Myndex Myndex commented Mar 15, 2023

The correct threshold is 0.04045, as recited in the official IEC standard for sRGB. And while it was incorrect (0.03928) for a long time in WCAG2, it was corrected by the W3 AGWG in May 2021.

Current WCAG 2.1 and 2.2 reflect the correct 0.04045 threshold.

Thank you,

Andrew Somers
W3C AGWG Invited Expert

Myndex and others added 2 commits March 15, 2023 12:59
The correct threshold is 0.04045, as recited in the official IEC standard for sRGB. And while it was incorrect (0.03928) for a long time in WCAG2, it was corrected by the W3 AGWG in May 2021. 

Current WCAG 2.1 and 2.2 reflect the correct 0.04045 threshold.
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (439966f) 96.46% compared to head (6ce6d48) 96.46%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #472   +/-   ##
=======================================
  Coverage   96.46%   96.46%           
=======================================
  Files          23       23           
  Lines         198      198           
  Branches       45       45           
=======================================
  Hits          191      191           
  Misses          7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ricokahler ricokahler merged commit 85fc150 into ricokahler:main Dec 8, 2023
7 checks passed
Copy link

github-actions bot commented Dec 8, 2023

🎉 This PR is included in version 2.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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 this pull request may close these issues.

2 participants