Accessibility · Senior · Question 48 of 75
What does semi-transparent text mean for contrast checks?
- 1Use the colour's hex value and ignore the alpha
- 2Compute the blended colour on its real background
- 3Transparent text is exempt from contrast rules
Show the answer
Correct answer: Compute the blended colour on its real background
Explanation
rgba() over different backgrounds yields different results, so a tool sampling tokens can be wrong. Test rendered pixels.