Step 26 of 32

Swipes, pinches and drags

By the end of this step: you will be able to spot swipe, pinch and drag controls on your site, and make sure each one also has a simple tap or click way to do the same job.

The short version

  • Some controls need a moving touch, like a swipe, a pinch or a drag.
  • Not everyone can do these moves.
  • Give every one of them a plain alternative: a tap or a click.
  • Check your photo galleries, sliders and price filters first.

What are gestures

A gesture is a move you make on a touchscreen, like a swipe. A pointer is whatever you use to point at the screen. It might be a finger, a mouse, a stick or a head pointer.

Some gestures use more than one finger. A pinch to zoom is one. Others follow a path. W3C says a path-based gesture is one where the movement of the pointer along a specific path matters.[1] A swipe sideways is a good example.

A drag is a different move. You press on something, hold, slide it somewhere else and let go.

Three boxes side by side. Swipe: one finger slides along a path. Pinch: two fingers move apart or together. Drag: press, hold, slide, then let go. Text below: each one needs a skilful move.
Three moves that not everyone can make.

Why this matters

Many of us find these moves easy. Not everyone does. W3C puts it plainly: not everyone can perform complex and multi-touch gestures.[1]

Some people use a head pointer or a voice tool to control the pointer. W3C says some pointing methods lack the capability or accuracy to perform multipoint or path-based gestures.[1] And some people can't use a mouse to drag items.[2] Others can't drag in a precise way.[2]

The two rules in plain words

WCAG 2.5.1 Pointer Gestures is about swipes and pinches. You can still use them. But the same job must also work another way.[1] W3C lists a tap, click, double tap, double click, long press, or click and hold.[1]

WCAG 2.5.7 Dragging Movements is about drags. The advice is short: for any action that involves dragging, provide a simple pointer alternative.[2]

Both rules have an exception for moves that are truly essential. A small shop site rarely has one. If you think you do, read the W3C pages and ask your web designer.

Where small sites use these moves

Look for these on your own pages:

  • A photo gallery you swipe through.
  • A slider that shows a few products in turn.
  • A map you pinch to zoom.
  • A price slider that you drag.
  • A list you can reorder by dragging.

Easy fixes

Three rows, each with an arrow from a move to a simple fix. Swipe photos becomes Next and Previous buttons. Pinch a map becomes plus and minus buttons. Drag a slider becomes tap the track or type a number.
Each move gets a simple alternative.

Most fixes add a button. A gallery that you swipe can also have clear "Next" and "Previous" buttons. A map can have "+" and "-" buttons.

For a slider you drag, W3C gives two ideas. One is to let people click or tap anywhere on the slider track to move the thumb to that spot.[2] The other is an input box beside the slider, so a person can type in a precise value.[2]

Keyboard access is a separate job. W3C says this requirement is separate from keyboard accessibility.[2] See keyboard access for that. Your page should work both ways.

Buttons you add must be easy to hit too. Tap targets shows how big they should be.

Try it on your site

  1. Open your site on your own phone.
  2. List every place where you swipe, pinch or drag.
  3. For each one, try to do the same job using only single taps. Hold your phone in one hand and use one finger.
  4. If you can't, ask your web designer to add a button, a tap spot or a type-in box.

Sources

  1. Understanding Success Criterion 2.5.1: Pointer Gestures, W3C Web Accessibility Initiative (accessed 2026-11-14)
  2. Understanding Success Criterion 2.5.7: Dragging Movements, W3C Web Accessibility Initiative (accessed 2026-11-14)