-
Notifications
You must be signed in to change notification settings - Fork 881
Correct axe-core luminance number #4933
Copy link
Copy link
Closed
Labels
coreIssues in the core code (lib/core)Issues in the core code (lib/core)fixBug fixesBug fixesgood first issueFor first-time contributorsFor first-time contributors
Description
Axe-core uses 0.03928 for its luminance calculation. This number came from WCAG, however WCAG's number was wrong. This was corrected a while back to be 0.04045. The change is theoretical, the difference is so small that the contrast ratio won't change. But it would be good to use update axe to use the same number that's in WCAG 2.2.
This change needs to happen in lib/commons/color/get-contrast.js
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreIssues in the core code (lib/core)Issues in the core code (lib/core)fixBug fixesBug fixesgood first issueFor first-time contributorsFor first-time contributors