Skip to content

Commit ff7c90e

Browse files
Update _rules/text-contrast-afw4f7.md
Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
1 parent 982e13a commit ff7c90e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_rules/text-contrast-afw4f7.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,12 @@ This text in a [semantic button][semantic role] has a contrast ratio of 3.85:1.
298298

299299
#### Failed Example 11
300300

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.
301+
The grey text has a contrast between 2.7:1 and 2.9:1 against the grey text shadow.
302302

303303
```html
304-
<p style="color: #000; background: #676767; text-shadow: white 0 0 40px">
305-
Some text in a human language
306-
</p>
304+
<p style="color: #666; text-shadow: #aaa 2px 2px 4px, #aaa -2px 2px 4px, #aaa 2px -2px 4px, #aaa -2px -2px 4px;">
305+
Some text in a human language
306+
</p>
307307
```
308308

309309
### Inapplicable

0 commit comments

Comments
 (0)