-
Notifications
You must be signed in to change notification settings - Fork 884
Axe fails with new color spec #4007
Copy link
Copy link
Open
Labels
color contrastColor contrast issuesColor contrast issuescommonsIssues in the common code (lib/commons)Issues in the common code (lib/commons)fixBug fixesBug fixesprA pr has been created for the issueA pr has been created for the issue
Metadata
Metadata
Assignees
Labels
color contrastColor contrast issuesColor contrast issuescommonsIssues in the common code (lib/commons)Issues in the common code (lib/commons)fixBug fixesBug fixesprA pr has been created for the issueA pr has been created for the issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
Product
axe-core
Product Version
No response
Latest Version
Issue Description
Expectation
I’m using
oklchon my page. I have added a media query to test if the browser supports it, and fall back torgb()if not. I expectaxe-coreto either ignore myoklchdefinitions, or be able to parse them properly.Actual
axe-corefails with:axe-core Error: Unable to parse color "oklch(0.992 0.03 171.25)”How to Reproduce
Additional context
This prevents me from using the new color syntax since my accessibility tests completely break.