You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The contrast guidelines of WCAG 2.1 are outdated and inadequate in many cases. Its projected replacement in WCAG 3.0 is Accessible Perceptual Contrast Algorithm (APCA). It is already included in many tools (e.g. offered as an experimental feature in Chrome DevTools).
I suggest to implement that algorithm in the a11y plugin of Colord.
Why would people want to use another method in Colord?
My immediate source of discontent is this:
In one of my designs, I'm trying to choose color for text: black (#202122) or white (#ffffff) – depending on which has a bigger contrast with my background color (it is chosen randomly). So, Colord often misleads me in this situation, relying on WCAG 2.1. APCA is known for better accounting for contrast of dark color pairs than WCAG 2.0. Indeed, its calculator gives diametrically opposite results:
Request
The contrast guidelines of WCAG 2.1 are outdated and inadequate in many cases. Its projected replacement in WCAG 3.0 is Accessible Perceptual Contrast Algorithm (APCA). It is already included in many tools (e.g. offered as an experimental feature in Chrome DevTools).
I suggest to implement that algorithm in the
a11y
plugin of Colord.Why would people want to use another method in Colord?
My immediate source of discontent is this:
In one of my designs, I'm trying to choose color for text: black (
#202122
) or white (#ffffff
) – depending on which has a bigger contrast with my background color (it is chosen randomly). So, Colord often misleads me in this situation, relying on WCAG 2.1. APCA is known for better accounting for contrast of dark color pairs than WCAG 2.0. Indeed, its calculator gives diametrically opposite results:Feel the difference! This forces me to look for tools other than Colord until Colord is updated.
The text was updated successfully, but these errors were encountered: