At the last #WordPress meetup @wp0711, @bovelett gave a presentation about #accessibility and we took the opportunity to test our websites.
Surprisingly, we had some contrast errors in our buttons despite using a #SCSS function to automatically calculate the correct contrast.
Turns out, most contrast calculation functions for SCSS are incorrect according to the WCAG 2 specifications.
So I found a smooth solution for that:
https://epiph.yt/en/blog/2023/fix-your-scss-color-contrast-function/