Skip to content

Commit a1ac5db

Browse files
authored
Merge pull request #267 from w3c/2.5.2
Add draft for 2.5.2
2 parents a792bfc + f84a040 commit a1ac5db

File tree

2 files changed

+84
-9
lines changed

2 files changed

+84
-9
lines changed

comments/2.5.2.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,44 @@
55
[wcag:pointer-cancellation]
66
[wcag2ict:applying-sc-2-5-2-pointer-cancellation-to-non-web-documents-and-software]
77

8-
Placeholder
8+
This applies directly as written, and as described in [Intent from Understanding Success Criterion 2.5.2](https://www.w3.org/WAI/WCAG22/Understanding/pointer-cancellation#intent).
99

10-
[issue:38]
10+
**2.5.2 Pointer Cancellation:** For functionality that can be operated using a single pointer, at least one of the following is true:
11+
12+
<dl>
13+
<dt>No Down-Event</dt>
14+
<dd>
15+
The down-event of the pointer is not used to execute any part of the function;
16+
</dd>
17+
<dt>Abort or Undo</dt>
18+
<dd>
19+
Completion of the function is on the up-event, and a mechanism is available to abort the function before completion or to undo the function after completion;
20+
</dd>
21+
<dt>Up Reversal</dt>
22+
<dd>
23+
The up-event reverses any outcome of the preceding down-event;
24+
</dd>
25+
<dt>Essential</dt>
26+
<dd>
27+
Completing the function on the down-event is essential.
28+
</dd>
29+
</dl>
30+
31+
[note:This requirement applies to mobile applications that interpret pointer actions (i.e., this does not apply to actions that are required to operate the platform software, operating system, or assistive technology). Each layer is responsible for its own pointer actions only, not for those in an underlying layer.]
32+
33+
[note:Functions that emulate a keyboard or numeric keypad key press are considered essential.]
34+
35+
[note:The determination of "essential" should focus on whether the function itself requires down-event activation, rather than solely on technological constraints. However, limitations of the underlying technology platform may also constitute valid exceptions where developers cannot provide alternative implementations.]
36+
37+
<div class="example wcag2mobile">
38+
<strong>Example:</strong>
39+
<br/>
40+
Examples of essential functionality in mobile applications include:
41+
<ul>
42+
<li>Drawing and sketching functionality where continuous pressure-sensitive input begins on the down-event.</li>
43+
<li>Keyboard emulation functionality where keys activate on down-event to match expected physical keyboard behavior.</li>
44+
<li>Musical instrument functionality where the down-event timing is essential to produce the intended sound at the correct moment.</li>
45+
<li>Gaming functionality requiring precise down-event timing such as rhythm games, sports simulations and action games.
46+
</li>
47+
</ul>
48+
</div>

index.html

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3122,16 +3122,53 @@ <h2>Success Criterion 2.5.2 Pointer Cancellation</h2>
31223122
</footer>
31233123
</details>
31243124
</p>
3125-
<p>Placeholder</p>
3125+
<p>This applies directly as written, and as described in <a href="https://www.w3.org/WAI/WCAG22/Understanding/pointer-cancellation#intent">Intent from Understanding Success Criterion 2.5.2</a>.</p>
3126+
<p><strong>2.5.2 Pointer Cancellation:</strong> For functionality that can be operated using a single pointer, at least one of the following is true:</p>
3127+
<dl>
3128+
<dt>No Down-Event</dt>
3129+
<dd>
3130+
The down-event of the pointer is not used to execute any part of the function;
3131+
</dd>
3132+
<dt>Abort or Undo</dt>
3133+
<dd>
3134+
Completion of the function is on the up-event, and a mechanism is available to abort the function before completion or to undo the function after completion;
3135+
</dd>
3136+
<dt>Up Reversal</dt>
3137+
<dd>
3138+
The up-event reverses any outcome of the preceding down-event;
3139+
</dd>
3140+
<dt>Essential</dt>
3141+
<dd>
3142+
Completing the function on the down-event is essential.
3143+
</dd>
3144+
</dl>
31263145
<p>
3127-
<div class="note" title="Work In Progress">
3128-
<p>
3129-
<a href="https://github.com/w3c/matf/issues/38" target="_blank">
3130-
Read issue #38 on GitHub
3131-
</a>
3132-
</p>
3146+
<div class="note">
3147+
<p>This requirement applies to mobile applications that interpret pointer actions (i.e., this does not apply to actions that are required to operate the platform software, operating system, or assistive technology). Each layer is responsible for its own pointer actions only, not for those in an underlying layer.</p>
3148+
3149+
</div>
3150+
</p>
3151+
<p>
3152+
<div class="note">
3153+
<p>Functions that emulate a keyboard or numeric keypad key press are considered essential.</p>
3154+
31333155
</div>
31343156
</p>
3157+
<p>
3158+
<div class="note">
3159+
<p>The determination of &quot;essential&quot; should focus on whether the function itself requires down-event activation, rather than solely on technological constraints. However, limitations of the underlying technology platform may also constitute valid exceptions where developers cannot provide alternative implementations.</p>
3160+
3161+
</div>
3162+
</p>
3163+
<div class="example">
3164+
<strong>Example:</strong>
3165+
<br/>
3166+
Examples of essential functionality for mobile applications include:
3167+
<ul>
3168+
<li>Features required for meeting system requirements (such as waking a device from sleep, power management controls, and emergency functions)</li>
3169+
<li>Interactions that require pointer down to function, such as drawing or sketching tools</li>
3170+
</ul>
3171+
</div>
31353172

31363173
</section>
31373174

0 commit comments

Comments
 (0)