Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
10 changes: 10 additions & 0 deletions _rules/text-contrast-afw4f7.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,16 @@ This text in a [semantic button][semantic role] has a contrast ratio of 3.85:1.
<div role="button" style="color: #777; background: #EEE;">My button!</div>
```

#### Failed Example 11

This black text has a contrast ratio between 4.11:1 and 4.17:1 on gray background with white text shadow on it.

```html
<p style="color: #000; background: #676767; text-shadow: white 0 0 40px">
Some text in a human language
</p>
```

### Inapplicable

#### Inapplicable Example 1
Expand Down
Loading