# Drag and Drop

Drag and drop lets users move, copy, connect, or reorder an object by holding it through a pointer movement from a source to a destination.

- Type: method
- Domain: Experience & interface
- Level: Intermediate
- Last reviewed: 2026-10-06
- Original: [Soroush’s Product Wiki](<https://wiki.soroush.uk/topic/drag-and-drop/>)

## What it means

Drag and drop is a direct-manipulation method in which a user picks up an object, moves it while maintaining contact, and releases it over a valid destination. The result may be a move, copy, reorder, upload, or relationship change. Accessible alternatives must provide the same outcome without requiring dragging.

## Why it matters

Direct manipulation can make spatial operations fast and tangible, but dragging demands motor precision and hides valid destinations until interaction begins. Clear feedback, reversibility, and equivalent controls reduce errors and exclusion.

## When to use it

Use drag and drop when spatial placement or reordering is central and destinations can be made apparent, such as moving tasks across a board. Always provide click, tap, keyboard, or menu alternatives; use those simpler controls alone when dragging adds little value.

## How it works

1. Define draggable sources, valid destinations, and whether each result moves, copies, or links content.
2. Give a clear pickup affordance and show the item’s dragged state without losing its origin context.
3. Reveal valid and invalid destinations and provide feedback as the pointer crosses them.
4. Confirm the result in the interface and make accidental changes undoable where possible.
5. Provide non-drag pointer and keyboard methods, then test touch, scrolling, zoom, assistive technology, and failure recovery.

## A practical example

A roadmap board lets users drag an initiative between quarters, but each card also has a Move menu with the same destinations. Valid columns highlight during dragging, dropping updates the quarter, and a persistent history plus Undo recovers an accidental move.

## Where it breaks

Dragging can be imprecise, difficult with motor impairments, undiscoverable, and incompatible with scrolling gestures. Complex canvases may require spatial understanding that does not translate well to small screens or linear assistive-technology output.

## Common mistakes

- Making dragging the only way to complete the operation.
- Failing to show which destinations accept the object and what the result will be.
- Using a small drag handle or requiring a long precise path.
- Completing destructive moves without confirmation, undo, or another recovery route.

## Sources

1. [Understanding Success Criterion 2.5.7: Dragging Movements](<https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements>) — W3C Web Accessibility Initiative · Accessibility guidance
2. [Drag and drop](<https://developer.apple.com/design/human-interface-guidelines/drag-and-drop>) — Apple · Institutional guideline

## Related topics

- [Direct Manipulation](<https://wiki.soroush.uk/topic/direct-manipulation/>)
- [Error Recovery](<https://wiki.soroush.uk/topic/error-recovery/>)
- [Touch Target](<https://wiki.soroush.uk/topic/touch-target/>)
