Does canonical long press fail 2.5.2 Pointer Cancellation?
Mitchell Evan <[email protected]> Tue, 25 Feb 2020 22:08:46 -0800
| Newsgroups | gmane.org.w3c.accessibility.general |
|---|---|
| Message-ID | <CAK=xW6sjs_T76yst+bZbGjga84ekqmC=Pmz5xXmQ-tCZUEwPVA@mail.gmail.com> |
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 [email protected] https://www.linkedin.com/in/mitchellrevan/