Make drag and drop work without dragging

8 steps · about 2 h 4 min · Intermediate

  1. 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.

  2. Make every move keyboard operable (reference, W3C WAI, 16 min)

    Ensure the alternative can be completed through keyboard events rather than simulated pointer motion.

  3. 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.

  4. Preserve collection structure (guide, W3C WAI, 22 min)

    Keep list or grid relationships understandable while items change position or move between collections.

  5. Expose a selected move mode (reference, MDN Web Docs, 12 min)

    When a toggle begins a move operation, communicate its pressed state programmatically.

  6. Expose optional move shortcuts (reference, MDN Web Docs, 12 min)

    When shortcuts supplement visible controls, communicate the keys without making them the only method.

  7. Keep the moved item visible (reference, W3C WAI, 14 min)

    Avoid leaving focus behind sticky panels or other content after the DOM is reordered.

  8. 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.