Make drag and drop work without dragging
8 steps · about 2 h 4 min · Intermediate
- Understand the non-dragging requirement (reference, W3C WAI, 16 min)
Identify every function that currently depends on a path-based pointer gesture and its allowed exceptions.
- Make every move keyboard operable (reference, W3C WAI, 16 min)
Ensure the alternative can be completed through keyboard events rather than simulated pointer motion.
- Size move controls for touch (reference, W3C WAI, 14 min)
Give directional and destination controls adequate targets instead of replacing one difficult gesture with tiny buttons.
- Preserve collection structure (guide, W3C WAI, 22 min)
Keep list or grid relationships understandable while items change position or move between collections.
- Expose a selected move mode (reference, MDN Web Docs, 12 min)
When a toggle begins a move operation, communicate its pressed state programmatically.
- Expose optional move shortcuts (reference, MDN Web Docs, 12 min)
When shortcuts supplement visible controls, communicate the keys without making them the only method.
- Keep the moved item visible (reference, W3C WAI, 14 min)
Avoid leaving focus behind sticky panels or other content after the DOM is reordered.
- Combine tools with human testing (guide, W3C WAI, 18 min)
Check keyboard, touch and screen-reader completion because an automated scan cannot prove the interaction works.