Skip to content

Commit

Permalink
Expand antialiasing note to clarify how to evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhlauke committed Feb 17, 2023
1 parent 7a954d2 commit 03427af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions understanding/20/contrast-enhanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ <h2>Intent of Contrast (Enhanced)</h2>
</div>

<div class="note">
<p>Because authors do not have control over user settings for font smoothing/anti-aliasing, when evaluating this
Success Criterion, refer to the foreground and background colors obtained from the user agent, or the underlying
markup and stylesheets, rather than the text as presented on screen.</p>
<p>Due to anti-aliasing, particularly thin or unusual fonts may be rendered by user agents with a much fainter
color than the actual text color defined in the underlying CSS. This can lead to situations where text has
a contrast ratio that nominally passes the Success Criterion, but has a much lower contrast in practice.
Expand Down
3 changes: 3 additions & 0 deletions understanding/20/contrast-minimum.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ <h2>Intent of Contrast (Minimum)</h2>
</div>

<div class="note">
<p>Because authors do not have control over user settings for font smoothing/anti-aliasing, when evaluating this
Success Criterion, refer to the foreground and background colors obtained from the user agent, or the underlying
markup and stylesheets, rather than the text as presented on screen.</p>
<p>Due to anti-aliasing, particularly thin or unusual fonts may be rendered by user agents with a much fainter
color than the actual text color defined in the underlying CSS. This can lead to situations where text has
a contrast ratio that nominally passes the Success Criterion, but has a much lower contrast in practice.
Expand Down

0 comments on commit 03427af

Please sign in to comment.