Skip to content

Commit

Permalink
Remove misleading/incorrect statement from 1.4.11 understanding (#1058)
Browse files Browse the repository at this point in the history
* Remove misleading/incorrect statement from 1.4.11 understanding

prompted by #541 (comment)

* Missed out a "not"

hat tip @aardrian
  • Loading branch information
patrickhlauke authored Aug 4, 2020
1 parent 91c74e4 commit 8c348e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion understanding/21/non-text-contrast.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ <h4 id="related-scs">Relationship with Use of Color and Focus Visible</h4>

<p>Using a change of contrast for focus and other states is a technique to differentiate the states. This is the basis for <a href="https://www.w3.org/WAI/WCAG21/Techniques/general/G195" class="general">G195: Using an author-supplied, highly visible focus indicator</a>, and more techniques are being added.</p>

<p>In combination with <a href="https://www.w3.org/TR/WCAG21/#focus-visible">2.4.7 Focus Visible</a>, the visual focus indicator for a component <em>must</em> have sufficient contrast against the adjacent background when the component is focused, except where the appearance of the component is determined by the user agent and not modified by the author. If the focus state relies on a change of color (e.g., changing <em>only</em> the background color of a button), then changing from one color to another that has at least a 3:1 contrast ratio with the previous state of the control is a method for meeting the Focus visible criteria.</p>
<p>In combination with <a href="https://www.w3.org/TR/WCAG21/#focus-visible">2.4.7 Focus Visible</a>, the visual focus indicator for a component <em>must</em> have sufficient contrast against the adjacent background when the component is focused, except where the appearance of the component is determined by the user agent and not modified by the author.</p>
<p>Note that this Success Criterion does not directly compare the focused and unfocused states of a control - if the focus state relies on a change of color (e.g., changing <em>only</em> the background color of a button), this Success Criterion does not define any requirement for the difference in contrast between the two states.</p>

<section>
<h4>Active User Interface Component Examples</h4>
Expand Down

0 comments on commit 8c348e6

Please sign in to comment.