# Dragging Movements

> The Dragging Movements WCAG success criterion requires an alternative to drag-and-drop actions.

## How do I make drag and drop accessible?

The success criterion that requires every action performed by dragging, such as sorting a list or moving a slider, to also be possible with a single pointer action like clicking without dragging.

- Topic: WCAG 2.2
- Type: concept

## Example

Wrong:

```html
<ul class="sortable">
  <li draggable="true">Task A</li>
  <li draggable="true">Task B</li>
</ul>
```

Right:

```html
<ul class="sortable">
  <li draggable="true">
    Task A <button type="button">Move Task A down</button>
  </li>
  <li draggable="true">
    Task B <button type="button">Move Task B up</button>
  </li>
</ul>
```

Dragging stays for mouse users, and the buttons give a single-pointer and keyboard way to reorder items.

## Common mistakes

- Assuming keyboard support is enough, while a single tap alternative is still missing.

## Key points

- Every drag action, like reordering or a slider, also works with single clicks or taps, such as move buttons.
- Draggable lists also offer keyboard controls to move items.
- Map panning or sortable lists do not rely only on `pointermove` dragging.

## Interview questions

### Does keyboard support satisfy Dragging Movements?

No. The criterion is about pointer users, so there must also be a single click or tap way to do the action.

### Do sliders need an alternative to dragging?

Yes. A slider needs a way to set the value without dragging, such as clicking a spot on the track or using plus and minus buttons.

## Related cards

- [\[draggable\]](https://wonderium.dev/html/draggable.md)
- [Target Size](https://wonderium.dev/a11y/target-size.md)
- [listbox](https://wonderium.dev/a11y/listbox.md)
- [slider](https://wonderium.dev/a11y/slider.md)
- [WCAG 2.2](https://wonderium.dev/a11y/wcag-2-2.md)

---

- Level: [Accessibility](https://wonderium.dev/a11y.md)
- HTML version: https://wonderium.dev/a11y/dragging-movements
- Last updated: 2026-11-25
