Marcelo Paiva

All criteriaPresent as slides

An older man with white hair and glasses clutches his head with one hand and looks down, dismayed.Meant to show: An older man with a hand tremor

Success criterion 2.5.2

Pointer Cancellation

Actions fire on the up-event, and can be aborted or undone, so accidental touches can be cancelled.

  • Level A
  • Principle 2: Operable
  • Guideline 2.5: Input Modalities

In a user’s words

“My hand shook, I brushed 'Delete', and it was gone. No undo. Just gone.”

Who this helps: Motor Impairments, Tremor

What each role can do

Product manager
Require that destructive actions can be cancelled or undone.
Designer
Design so that sliding off a control cancels it; offer undo for important actions.
Developer
Trigger actions on click or pointer-up, never on pointer-down, unless essential.
Tester
Press a control, slide away, release; confirm nothing fires.

Once it is fixed

“I slid my finger away and nothing happened. That's the best nothing ever!”

The quotes are written to illustrate the criterion. They are not testimonials from real people. For the official wording, find 2.5.2 in the W3C quick reference for WCAG 2.2 (opens in a new tab).

Or press the left arrow and the right arrow.

A success criterion

This is one page of a phrase book. It takes one success criterion and tells it from the side of the person it helps.

From top to bottom

  1. At the top, the site header: my name, which goes home, then links to Writing, Work, Signal, Tools and Resume, then Settings, where you choose the drawings, light or dark, and movement.
  2. Links back to all the criteria, and to present this one as slides.
  3. A drawing, the criterion’s number and name, what it requires in one sentence, and its level.
  4. In a user’s words: a quote from the person who meets the barrier.
  5. What each role can do: one task each for the product manager, the designer, the developer and the tester.
  6. Once it is fixed: the same person again.
  7. Share this with your team: post to LinkedIn, download the slides as a PDF, or copy a link.
  8. Some criteria then have a t-shirt to order.
  9. Links to the previous and next criterion. The left and right arrow keys go there too.
  10. At the bottom, the footer: a note on how this site is built, links to Illustrations, Pens, Concepts and Accessibility, this Describe this page button, then GitHub, LinkedIn and email.

What you can do here

Learn what this criterion asks, and what your part of the fix is.

Also here

The quotes are written to illustrate the criterion. They are not from real people.