act-rules / act-rules.github.io

Accessibility conformance testing rules for HTML
https://act-rules.github.io/
Other
131 stars 67 forks source link

Add text-shadow failure - Text has minimum contrast [afw4f7] #2172

Open giacomo-petri opened 3 months ago

giacomo-petri commented 3 months ago

In Passed Example 4, the proposed minimum contrast requirement is met by utilizing the text-shadow CSS property.

In the "Failed Examples," there is no mention of the text-shadow property. I think it may be beneficial to clarify that employing the same text-shadow property with identical offset-x, offset-y, and color but with a distinct blur-radius (for instance, white 0 0 12px instead of white 0 0 3px) results in a failure of the rule.