Closed nmerget closed 4 months ago
Thanks for reporting this bug, @nmerget! I'll take a look, but I think you're right about the color-mix
.
Looks like the bookmarklet doesn't work at all on the Deutsche Bahn website either — I'll look into this too. 😅
I think I have both issues fixed now. Sorry for the delay — it's conference season here!
Please let me know if you come across anymore issues. Thanks again for reporting this, @nmerget!
Description
I'm testing sa11y on our design-system and there is some issue with the contrast checker and got this error:
How to reproduce
Comment
Maybe the issue comes from
color-mix
. We us it like this:Maybe there is a simple solution for this to convert it to an RGB/A color before? Otherwise, it would be perfect to have a
try{}catch
which may prints the element that is causing the issue and continues doing the contrast check.