act-rules / act-rules.github.io

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

Added text-shadow failure - Text has minimum contrast [afw4f7] #2184

Open giacomo-petri opened 2 months ago

giacomo-petri commented 2 months ago

Closes: #2172

Often, there's a misunderstanding that including a text-shadow property automatically ensures that text will have a satisfactory contrast ratio with its background. To dispel this notion, I've provided an example where the text-shadow property fails to guarantee adequate contrast, contrasting with the Passed Example 4, to emphasize that relying solely on text-shadow doesn't always ensure sufficient contrast.

Need for Call for Review: This will require a 2 weeks Call for Review


Pull Request Etiquette

When creating PR:

After creating PR:

When merging a PR:

How to Review And Approve