Skip to content

Commit 982e13a

Browse files
Added text-shadow failed example
1 parent 25aa483 commit 982e13a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

_rules/text-contrast-afw4f7.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,16 @@ This text in a [semantic button][semantic role] has a contrast ratio of 3.85:1.
296296
<div role="button" style="color: #777; background: #EEE;">My button!</div>
297297
```
298298

299+
#### Failed Example 11
300+
301+
This black text has a contrast ratio between 4.11:1 and 4.17:1 on gray background with white text shadow on it.
302+
303+
```html
304+
<p style="color: #000; background: #676767; text-shadow: white 0 0 40px">
305+
Some text in a human language
306+
</p>
307+
```
308+
299309
### Inapplicable
300310

301311
#### Inapplicable Example 1

0 commit comments

Comments
 (0)