Pointer Cancellation
Pointer Cancellation is an accessibility requirement that helps prevent accidental actions when someone uses a mouse, touchscreen, or other pointing device. It generally means that an action should trigger when the pointer is released rather than the moment it is pressed, so a user who presses the wrong spot can move away before letting go to cancel the action. This helps people who may have difficulty tapping or clicking precisely.
WCAG Success Criterion 2.5.2 Pointer Cancellation, a Level A criterion added in WCAG 2.1, applies to functionality that can be operated with a single pointer. To conform, at least one of the following must be true: the down-event is not used to execute any part of the function; completion of the function occurs on the up-event and a mechanism is available to abort the function before completion or to undo it after completion; the up-event reverses any outcome of the preceding down-event; or completing the function on the down-event is essential. The intent is to reduce accidental or erroneous pointer input by giving users the opportunity to abort or reverse an action, which particularly benefits users who have difficulty using a pointer accurately. Conformance with this single criterion does not guarantee overall accessibility or legal compliance, and manual and assistive technology testing remain necessary.
Why it matters
Pointer Cancellation addresses a common source of accidental activation: triggering an action the instant a pointer is pressed rather than when it is released. When functions execute on the down-event, a user who presses the wrong control has no opportunity to recover. By deferring activation to the up-event and providing a way to abort or reverse an action, interfaces give people a chance to move the pointer away before letting go, effectively cancelling the mistaken input.
This matters especially for users who have difficulty using a pointing device accurately, including people with motor impairments, tremors, or limited fine motor control, as well as users of touchscreens where precise tapping can be challenging. Reducing the risk of unintended actions makes interactions less error-prone and less stressful for these users, and it can benefit anyone operating a device in difficult conditions.
As a single Level A success criterion, conformance with SC 2.5.2 does not by itself guarantee an overall accessible experience or immunity from legal claims. It should be treated as one component of a broader accessibility effort that includes manual review and testing with assistive technologies. This entry is general guidance and not legal advice; requirements evolve through regulation and case law, and organizations with specific compliance questions should consult qualified legal counsel.
Who it's relevant to
Inside Pointer Cancellation
Common questions
Answers to the questions practitioners most commonly ask about Pointer Cancellation.