Does canonical long press fail 2.5.2 Pointer Cancellation?

Canonical long press interaction in iOS (without assistive technology):
1. User begins touching a control (down event).
2. After the user has held the same spot for 0.5 seconds, the beginning of
the long press gesture event
<https://developer.apple.com/documentation/uikit/uilongpressgesturerecognizer>
occurs
and content appears.
3. User notices that content has appeared, then lifts their finger (up
event).
4. User reads or ignores the content.
5. User dismisses the content.

Dismissing the content at step 5 feels like a reasonable "undo" of the
function, yet it fails 2.5.2 Pointer Cancellation because undo is only
allowed when "completion of the function is on the up-event" (step 3 above,
not step 2).

Does this mean canonical iOS long presses are not allowed?

Understanding 2.5.2
<https://www.w3.org/WAI/WCAG21/Understanding/pointer-cancellation.html>
suggests displaying the content at step 3 instead, but then the user would
not get feedback and would not know how long to hold.

Mitchell Evan
+1 (510) 375-6104
mtchllvn@gmail.com
https://www.linkedin.com/in/mitchellrevan/

Received on Wednesday, 26 February 2020 06:09:11 UTC