Skip to content

Amend "contrast ratio" term #4400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove two notes
The note about assuming a particular background is contentious at best.

The note about "it is a failure" seems inappropriate in the normative term definition. A failure of what? This sort of note (if it were actually normatively intended) probably should go in the understanding document for a specific SC.
  • Loading branch information
patrickhlauke committed May 17, 2025
commit c80725df16bc81004947f71bd4f0629e6d008233
12 changes: 0 additions & 12 deletions guidelines/terms/20/contrast-ratio.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@

<p class="note">Contrast ratios can range from 1 to 21 (commonly written 1:1 to 21:1).</p>

<p class="note">For the purpose of Success Criteria 1.4.3 and 1.4.6, contrast is measured with respect
to the specified background over which the text is rendered in normal usage. If no
background color is specified, then white is assumed.
</p>

<p class="note">Background color is the specified color of content over which the text is to be rendered
in normal usage. It is a failure if no background color is specified when the text
color is specified, because the user's default background color is unknown and cannot
be evaluated for sufficient contrast. For the same reason, it is a failure if no text
color is specified when a background color is specified.
</p>

<p class="note">When there is a border around the letter, the border can add contrast and would be
used in calculating the contrast between the letter and its background. A narrow border
around the letter would be used as the letter. A wide border around the letter that
Expand Down