Skip to content

Commit

Permalink
Update text-contrast-afw4f7.md
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomo-petri authored Jul 11, 2024
1 parent ff7c90e commit 783ebc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _rules/text-contrast-afw4f7.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ This text in a [semantic button][semantic role] has a contrast ratio of 3.85:1.
The grey text has a contrast between 2.7:1 and 2.9:1 against the grey text shadow.

```html
<p style="color: #666; text-shadow: #aaa 2px 2px 4px, #aaa -2px 2px 4px, #aaa 2px -2px 4px, #aaa -2px -2px 4px;">
<p style="color: background: #fff; #666; text-shadow: #aaa 2px 2px 4px, #aaa -2px 2px 4px, #aaa 2px -2px 4px, #aaa -2px -2px 4px;">
Some text in a human language
</p>
```
Expand Down

0 comments on commit 783ebc6

Please sign in to comment.