W3C WCAG Technique G210: Drag-and-drop cancellation
Documents that path-based drag-and-drop actions should be cancellable by releasing outside the target, moving the item back, confirming after drop, or providing undo, with attention to pointer and touch assistive technology constraints.
What this source can teach
Use this source to check a technical or accessibility requirement against its exact wording and scope.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- Check the setting. Compare the source's platform, people, and constraints with your own decision.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Drag and drop | Choose drag and drop when the design problem is moving an object from a source to a destination, position, group, or order. | Dragging starts only from the intended handle, object, or selected set, not from unrelated scroll or text-selection movement. | Supports cancellation, confirmation, and undo expectations for drag-and-drop actions. |
| Drag-and-drop upload | Choose drag-and-drop upload when dropping files from a desktop file manager is a common, useful shortcut. | Dragenter and dragover make the target visibly active only when the incoming data includes files. | W3C supports drag-and-drop cancellation and recovery expectations for pointer-based drag actions. |
| Touch gesture | Choose touch gesture when the design question is the recognition, feedback, fallback, and cancellation behavior of touch input itself. | The gesture starts only from the intended target or gesture region, not from unrelated content. | Supports cancellation, release-outside, confirmation, and undo expectations for path-based drag interactions. |
Comparisons supported by this source
- Drag and drop vs touch gesture vs long press vs drag-and-drop upload vs kanban board vs sort controls
Supports cancellation and recovery expectations for drag-and-drop actions.
- Drag-and-drop upload vs file upload vs multi-step form vs text input
W3C supports cancellation and recovery expectations for path-based drag-and-drop actions.
- Touch gesture vs carousel vs map view vs bottom sheet vs drag-and-drop upload vs data visualization
Supports cancellation and recovery expectations for pointer and touch drag interactions.
Evidence Role
This source is treated as spec evidence. Its value comes from the specific claims and setting described above.
Publisher: World Wide Web Consortium. Last checked: .