Skip to main content
Vially Logo

WCAG 2.1 Criteria Documentation

2.5.2: Pointer Cancellation – (Level A)

High-Level Description

Actions triggered by pointer input must be cancellable or reversible. This helps users to avoid any unintentional or accidental activation of elements and allows cancellation or reversal of inputs.

Detailed Description

What this means:

  • Allows users to cancel actions by only partially triggering the event.
  • Avoid triggering important or irreversible actions when tapping or clicking an interactable component e.g. mousedown or touchstart events.
  • Ensure that dragging or sliding interactions are not final until the user releases the pointer, allowing cancellation by lifting the pointer outside the target.

Applies to:

  • Interactable elements such as buttons and toggles.
  • Any interface where accidental activation could cause loss of data, or navigation or transaction commitment.
  • Dragging movements, sliders, and scrubbers.

Indicators of Non-Compliance:

  • A button or toggle activates before the user has released it.
  • A slider continues to move even after the user has moved the pointer away from the component.
  • A dragging action is finalised even if the user releases the pointer outside the drop zone.

Real World Examples

ScenarioNon-CompliantCompliant
A button activationTapping down on the button completes the action before the user has lifted the pointerThe button only completes the action after the user has released it without sliding off
Drag and drop file uploadReleasing the file outside of the file drop area still completes the actionThe drag and drop is cancelled after the user has released the item outside the drop zone
Transaction submissionThe user accidentally submits a payment by clicking on the "submit payment" button and is unable to cancel the actionThe user has clicked down on the button but has not lifted and are reconsidering their action. The user is able to slide the pointer away and the action cancels

Disability Impact

Disability GroupWithout pointer cancellationWith pointer cancellation
Motor DisabilitiesUsers may accidentally interact with components with no mechanism to dismissUsers can cancel unintended actions
Cognitive DisabilitiesAccidental activation can confuse the usersUsers have time to consider actions and cancel if needed

Supporting Documentation

Remediation Strategies

    Ensure interactable elements do not active prematurely and wait until the full interaction has been completed.

    Inform users visually and audibly through assistive technologies to confirm interaction has been completed.

    Where gestures are commonly used, ensure users are able to cancel interactions by dragging and releasing their pointer from the component.