Accessible Mobile Gestures: Pinch, Swipe, and Drag

Mobile & Accessibility2 min readBy the Monopage team

Touch screens made gestures popular: swipe to move on, pinch to zoom, drag to reorder. But not everyone can perform them. People with tremors, limited dexterity, or who use a head pointer, stylus, or adaptive switch may find complex gestures difficult or impossible. The rule is to offer a simple alternative.

What WCAG requires

  • Pointer Gestures (2.5.1, level A): if a function needs a multipoint gesture, such as pinching, or a path-based gesture, such as swiping along a path, it must also be operable with a single pointer without a path, for example a tap. Exceptions exist where the gesture is essential
  • Dragging Movements (2.5.7, level AA, new in WCAG 2.2): anything that can be done by dragging must also be possible with a single pointer without dragging
  • Pointer Cancellation (2.5.2, level A): actions should trigger on the up event, or be abortable, so accidental touches can be undone
  • Target Size (Minimum) (2.5.8, level AA, new in WCAG 2.2): targets should be at least 24 by 24 CSS pixels, with some exceptions
  • Motion Actuation (2.5.4, level A): features triggered by shaking or tilting the device must have a button alternative and a way to turn off motion triggers

See WCAG 2.2: what changed.

Common gestures and their alternatives

  • Swipe on carousels: add previous and next buttons. See accessible carousels and sliders
  • Pinch to zoom on images or maps: add zoom in and out buttons. See accessible maps and location widgets
  • Drag to reorder: add move up and move down buttons, or a numeric position field
  • Drag sliders: let people type a value or use arrow keys and plus and minus buttons
  • Swipe to delete or reveal actions: provide a visible menu or button
  • Pull to refresh: include a refresh button
  • Long press: offer a regular tap path to the same function, such as a visible menu
  • Shake or tilt: include an on-screen control

Do not rely on hidden gestures

Features that are only discoverable by gesture are hard for many users to find. Show visible controls, or at least explain the gesture and provide an alternative.

Never block the browser's zoom

Pinch zoom is an important accessibility feature built into browsers. Do not disable it in the viewport settings. See text spacing and zoom for low vision users.

Build with simple events

Use standard click or tap handling, which works with a mouse, touch, stylus, keyboard activation, and assistive technology. Custom touch handlers can bypass these. See accessible buttons vs links.

Make targets comfortable

Large, well-spaced targets prevent accidental taps. See touch target sizes for mobile and mobile navigation patterns.

Test it

Try to complete every key task with taps only, using one finger. Then try with keyboard and voice. See accessibility testing tools for small sites and voice control and speech recognition users.

Common mistakes

  • Swipe-only carousels
  • Drag-only reordering or sliders
  • Disabled zoom
  • Tiny close buttons

If you sell online, the same principles apply at checkout. See how to launch an online store.