Skip to content

Commit 783ebc6

Browse files
Update text-contrast-afw4f7.md
1 parent ff7c90e commit 783ebc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_rules/text-contrast-afw4f7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ This text in a [semantic button][semantic role] has a contrast ratio of 3.85:1.
301301
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: #666; text-shadow: #aaa 2px 2px 4px, #aaa -2px 2px 4px, #aaa 2px -2px 4px, #aaa -2px -2px 4px;">
304+
<p style="color: background: #fff; #666; text-shadow: #aaa 2px 2px 4px, #aaa -2px 2px 4px, #aaa 2px -2px 4px, #aaa -2px -2px 4px;">
305305
Some text in a human language
306306
</p>
307307
```

0 commit comments

Comments
 (0)