Skip to content

Commit 514cc79

Browse files
authored
Merge branch 'main' into issue-2482
2 parents 594e57a + c0551d8 commit 514cc79

112 files changed

Lines changed: 409 additions & 7899 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎guidelines/index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ <h4>New Features in WCAG 2.2</h4>
9696
<li><a href="#dragging-movements">Dragging Movements</a></li>
9797
<li><a href="#consistent-help">Consistent Help</a></li>
9898
<li><a href="#page-break-navigation">Page Break Navigation</a></li>
99-
<li><a href="#focus-appearance-minimum">Focus Appearance (Minimum)</a></li>
100-
<li><a href="#focus-not-obscured">Focus not obscured</a></li>
101-
<li><a href="#focus-appearance-enhanced">Focus Appearance (Enhanced)</a></li>
99+
<li><a href="#focus-appearance">Focus Appearance</a></li>
100+
<li><a href="#focus-not-obscured-minimum">Focus not obscured</a></li>
101+
<li><a href="#focus-not-obscured-enhanced">Focus not obscured (Enhanced)</a></li>
102102
<li><a href="#target-size-minimum">Target Size (Minimum)</a></li>
103103
<li><a href="#redundant-entry">Redundant Entry</a></li>
104104
</ul>
@@ -276,11 +276,11 @@ <h3>Navigable</h3>
276276

277277
<section data-include="sc/20/section-headings.html" data-include-replace="true"></section>
278278

279-
<section data-include="sc/22/focus-appearance-minimum.html" data-include-replace="true"></section>
279+
<section data-include="sc/22/focus-appearance.html" data-include-replace="true"></section>
280280

281281
<section data-include="sc/22/focus-not-obscured.html" data-include-replace="true"></section>
282282

283-
<section data-include="sc/22/focus-appearance-enhanced.html" data-include-replace="true"></section>
283+
<section data-include="sc/22/focus-not-obscured-enhanced.html" data-include-replace="true"></section>
284284

285285
<section data-include="sc/22/page-break-navigation.html" data-include-replace="true"></section>
286286

‎guidelines/input-purposes.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h2>Input Purposes for User Interface Components</h2>
33
<p>This section contains a listing of common <a>user interface component</a> input purposes. The terms below are not keywords that must be used, but instead represent purposes that must be captured in the taxonomy adopted by a webpage. Where applicable, authors mark up controls with the chosen taxonomy to indicate the semantic purpose. This provides the potential for user agents and assistive technologies to apply personalized presentations that can enable more people to understand and use the content.</p>
44

5-
<p class="note">The list of input type purposes is based on the control purposes defined in the <a href="https://www.w3.org/TR/html52/sec-forms.html#sec-autofill">HTML 5.2 Autofill field section</a>, but it is important to understand that a different technology may have some or all of the same concepts defined in its specification and only the concepts that are mapped to the meanings below are required.</p>
5+
<p class="note">The list of input type purposes is based on the control purposes defined in the <a href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill">HTML specification's Autofill section</a>, but it is important to understand that a different technology may have some or all of the same concepts defined in its specification and only the concepts that are mapped to the meanings below are required.</p>
66

77
<p>The following input control purposes are intended to relate to the user of the content and pertain only to information related to that individual.</p>
88

‎guidelines/sc/22/accessible-authentication.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ <h4>Accessible Authentication</h4>
66
<p class="change">New</p>
77

88
<p>For each step in an authentication process that relies on a <a>cognitive function test</a>, at least one other authentication method is available that does not rely on a cognitive function test, or a mechanism is available to assist the user in completing the cognitive function test.</p>
9-
<p>Exception: When the cognitive function test is to recognize common objects or content the user provided to the website.</p>
10-
<p class="note">Common objects and content for the exception may be represented by images, text, video or audio.</p>
9+
<p>Exception: When the cognitive function test is to recognize objects, or content the user provided to the website.</p>
10+
<p class="note">Objects and content for the exception may be represented by images, text, video or audio.</p>
1111
<p class="note">Examples of mechanisms include: 1) support for password entry by password managers to address the memorization cognitive function test, and 2) copy and paste to help address the transcription cognitive function test.</p>
1212

1313
</section>

‎guidelines/sc/22/focus-appearance-enhanced.html‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

guidelines/sc/22/focus-appearance-minimum.html renamed to guidelines/sc/22/focus-appearance.html

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,36 @@
11
<section class="sc new">
22

3-
<h4>Focus Appearance (Minimum)</h4>
3+
<h4>Focus Appearance</h4>
44

55
<p class="conformance-level">AA</p>
66
<p class="change">New</p>
77

8-
<p>When a <a>user interface component</a> has keyboard focus, the <a>focus indicator</a>:</p>
9-
<ul>
10-
<li><a>Encloses</a> the visual presentation of the user interface component;</li>
11-
<li>Has a contrast ratio of at least 3:1 between its pixels in the focused and unfocused states;</li>
12-
<li>Has a contrast ratio of at least 3:1 against adjacent colors.</li>
13-
</ul>
14-
<p>Exceptions:</p>
15-
16-
<ul>
17-
<li>The focus indicator is determined by the user agent and cannot be adjusted by the author, or</li>
18-
<li>The focus indicator and the indicator's background color are not modified by the author, or</li>
8+
<p>When a <a>user interface component</a> has keyboard focus, one or both of the following is true:</p>
9+
<ol>
10+
<li>The <a>focus indicator</a>:
11+
<ul>
12+
<li><a>encloses</a> the visual presentation of the user interface component, and</li>
13+
<li>has a contrast ratio of at least 3:1 between the same pixels in the focused and unfocused states, and</li>
14+
<li>has a contrast ratio of at least 3:1 against adjacent colors.</li>
15+
</ul>
16+
</li>
1917
<li>An area of the focus indicator meets all the following:
2018
<ul>
21-
<li>At least as large as the area of a 1 <a>CSS pixel</a> thick <a>perimeter</a> of the unfocused component, or is at least as large as a 4 CSS pixel thick line along the shortest side of the <a>minimum bounding box</a> of the unfocused component, and</li>
22-
<li>has a contrast ratio of at least 3:1 against the same pixels in the unfocused state, and </li>
19+
<li>is at least as large as the area of a 1 <a>CSS pixel</a> thick <a>perimeter</a> of the unfocused component, or is at least as large as a 4 CSS pixel thick line along the shortest side of the <a>minimum bounding box</a> of the unfocused component, and</li>
20+
<li>has a contrast ratio of at least 3:1 between the same pixels in the focused and unfocused states, and</li>
2321
<li>has a contrast ratio of at least 3:1 against adjacent non-focus-indicator colors, or is no thinner than 2 CSS pixels.</li>
2422
</ul>
2523
</li>
24+
</ol>
25+
26+
<p>Where a user interface component has active sub-components, if a sub-component receives a focus indicator, these requirements may be applied to the sub-component instead.</p>
27+
28+
<p>Exceptions:</p>
29+
<ul>
30+
<li>The focus indicator is determined by the user agent and cannot be adjusted by the author, or</li>
31+
<li>The focus indicator and the indicator's background color are not modified by the author.</li>
2632
</ul>
2733

28-
<p>Where a user interface component has active sub-components, if a sub-component receives a focus indicator, these requirements can be applied to the sub-component instead.</p>
29-
3034
<p class="note">Note: Examples of sub-components that may receive a focus indicator are menu items in an opened drop-down menu. However, it may also be possible to indicate user interaction for such sub-components by relying strictly on a visual indication of which item is <em>selected</em>. Where selectable sub-components have no differentiated focus indicator, the visual indicator for sub-component selection is measured against <a href="https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html">1.4.11 Non-text Contrast</a> requirements, not against this Criterion.</p>
3135
<p class="note">Note: Contrast calculations can be based on colors defined within the technology (such as HTML, CSS and SVG). Pixels modified by user agent resolution enhancements and anti-aliasing can be ignored.</p>
3236

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<section class="sc new">
2+
3+
<h4>Focus Not Obscured (Enhanced)</h4>
4+
5+
<p class="conformance-level">AA</p>
6+
<p class="change">New</p>
7+
8+
<p>When a <a>user interface component</a> receives keyboard focus, no part of the <a>focus indicator</a> is hidden by author-created content.</p>
9+
10+
11+
</section>

‎guidelines/sc/22/focus-not-obscured.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section class="sc new">
22

3-
<h4>Focus Not obscured</h4>
3+
<h4>Focus Not Obscured (Minimum)</h4>
44

55
<p class="conformance-level">AA</p>
66
<p class="change">New</p>

‎guidelines/terms/22/perimeter.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<dt class="new"><dfn>Perimeter</dfn></dt>
1+
<dt class="new"><dfn>perimeter</dfn></dt>
22
<dd class="new">
33
<p class="change">New</p>
44
<p>continuous line forming the boundary of a shape not including shared pixels, or the <a>minimum bounding box</a>, whichever is shortest. For example, the perimeter calculation for a rectangle is 2<em>h</em>+2<em>w</em> -4, where <em>h</em> is the height and <em>w</em> is the width and the corners are not counted twice. The perimeter of a circle is 2𝜋<em>r</em>.</p>

0 commit comments

Comments
 (0)