Skip to content
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

Update focus-appearance-minimum.html #1403

Merged
merged 6 commits into from
Oct 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions guidelines/sc/22/focus-appearance-minimum.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ <h4>Focus Appearance (Minimum)</h4>
<p class="conformance-level">AA</p>
<p class="change">New</p>

<p>For the keyboard focus indicator of each User Interface Component, all of the following are true:</p>
<p>When user interface components receive keyboard focus, all of the following are true:</p>
alastc marked this conversation as resolved.
Show resolved Hide resolved
<ul>
<li><strong>Minimum area:</strong> The <a>focus indication area</a> is greater than or equal to a 1 <a>CSS pixel</a> border of the focused control, or has a thickness of at least 8 CSS pixels along the shortest side of the element.</li>
<li><strong>Change of contrast:</strong> The color change for the focus indication area has a contrast ratio of at least 3:1 with the colors of the unfocused state.</li>
<li><strong>Adjacent contrast:</strong> The focus indication area has a contrast ratio of at least 3:1 against all adjacent colors for the minimum area or greater, or has a thickness of at least 2 CSS pixels.</li>
<li><strong>Minimum area:</strong> The area of the <a>focus indicator</a> is at least as large as as the area of a 1 <a>CSS pixel</a> thick perimeter of the focused control, or the focus indicator has a thickness of at least 8 CSS pixels along the shortest side of the user interface component.</li>
<li><strong>Change of contrast:</strong> The pixels making up the minimum focus indicator area achieve at least a 3:1 contrast between their colors in the focused and unfocused states. </li>
<li><strong>Adjacent contrast:</strong> The focus indicator contrasts at least 3:1 against all adjacent colors, or has a thickness of at least 2 CSS pixels.</li>
<li><strong>Not fully obscured:</strong> The item with focus is not entirely hidden by author-created content.</li>
</ul>
<p class="note">A keyboard focus indicator which has a pattern or gradient may have parts that do not meet the 3:1 contrast ratio for the change of contrast, as long as an area equal to the minimum does meet the contrast ratio.</p>
Expand Down
7 changes: 0 additions & 7 deletions guidelines/terms/22/focus-indication-area.html

This file was deleted.

7 changes: 7 additions & 0 deletions guidelines/terms/22/focus-indicator.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<dt class="new"><dfn>Focus indicator</dfn></dt>
<dd class="new">
<p class="change">New</p>
<p>The pixels that are changed to visually indicate when a user interface component is in a focused state.
</p>

</dd>
7 changes: 7 additions & 0 deletions guidelines/terms/22/perimeter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<dt class="new"><dfn>Perimeter</dfn></dt>
<dd class="new">
<p class="change">New</p>
<p>the continuous line forming the boundary of a shape. The perimeter calculation for a rectangle is 2<em>h</em>+2<em>w</em>, where <em>h</em> is the height and <em>w</em> is the width. The perimeter of a circle is 2&Pi;<em>r</em>.
</p>

</dd>