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

Actually make the Contrast-O-Vision filter WCAG AA-compliant #2

Open
tigt opened this issue Aug 3, 2017 · 1 comment
Open

Actually make the Contrast-O-Vision filter WCAG AA-compliant #2

tigt opened this issue Aug 3, 2017 · 1 comment

Comments

@tigt
Copy link
Owner

tigt commented Aug 3, 2017

The dirty secret: right now, it has a lot of false positives/negatives. I've been trying to to fix it for months, but even my reduced test cases baffle me.

I irresponsibly put this online in the hope that somebody calls me out on it and inadvertently points me towards fixing it.

@tigt
Copy link
Owner Author

tigt commented Aug 22, 2017

Possible leads

  • The color-interpolation-filters conversion is broken in at least Blink, which means the native<feColorMatrix type="luminanceToAlpha"> may not be converting luminance correctly.

  • The luminance is clamped badly (i.e. it overflows past the possible alpha values 0 and 1). This could require anything from decreasing the gamma to rigging up a homebrew version with <feComponentTransfer>.

  • Maybe both, sadly.

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

1 participant