WCAG 2.5.2 — Pointer Cancellation
Some buttons or links on your site trigger actions the moment someone starts clicking, without allowing them to cancel by releasing the click elsewhere. This creates accidental actions for people with motor disabilities who may slip while clicking. The ADA Title II rule requires users to be able to cancel pointer actions before completion.
Who Is Affected
Users with motor disabilities, tremors, or limited fine motor control who may accidentally start clicking on the wrong element. Also affects users with assistive technologies like head pointers, eye-tracking systems, or switch devices that may have less precise pointer control.
What This Means
When someone clicks a button or link, the action should not complete until they release the mouse button (mouseup event). If the action triggers immediately when they press down (mousedown event), they cannot cancel it by dragging away from the element before releasing.
This commonly occurs with custom JavaScript that listens for mousedown, touchstart, or pointerdown events instead of the standard click event. It also happens with drag-and-drop interfaces that don't allow cancellation.
Fix: CMS / Theme
This issue typically stems from custom JavaScript in your theme or plugins that incorrectly handles pointer events.
For Joomla:
- Go to Extensions → Templates → Your Template → Edit Files
- Search JavaScript files for
mousedown,touchstart, orpointerdownevent listeners - Replace these with
clickevent listeners, or ensure the action only completes onmouseup/touchend - For drag operations, implement escape key cancellation or allow users to drag back to the starting position
For WordPress:
- Check your active theme's JavaScript files in Appearance → Theme Editor
- Review custom plugins that add interactive elements
- Look for event listeners that trigger immediately on press rather than release
- Modify the code to use
clickevents or implement proper cancellation mechanisms
General fixes:
- Use standard
clickevents instead ofmousedown/touchstart - For drag operations, allow cancellation by pressing Escape or returning to start position
- Ensure multi-step processes can be undone or confirmed before final completion
Fix: Content Editor
If you're using page builders or embedding custom code blocks:
- Review any custom HTML/JavaScript widgets on your pages
- Remove any inline
onmousedownorontouchstartattributes - Replace with
onclickattributes or proper event listeners - Test by starting to click an element, then dragging away before releasing — the action should not trigger
Standard Reference
WCAG 2.1 Success Criterion 2.5.2 — Pointer Cancellation, Level A
For functionality that can be operated using a single pointer, at least one of the following is true: the down-event is not used to execute any part of the function; completion of the function is on the up-event with a mechanism to abort or undo; the up-event reverses any outcome of the preceding down-event; or completing the function on the down-event is essential.
Helpful Tools
Check if your government website has this issue
OctoComply scans your website and documents for WCAG 2.1 AA violations. The free tier covers up to 10 pages.
Run a Free Scan