• Success Criterion 2.5.7
  • Conformance level AA

Color Picker That Requires Dragging in a Gradient Field

2.5.7 — Dragging Movements

Scenario

Setting

A recipe site's ingredient list

What’s wrong

Color pickers requiring drag in the gradient field.

Example

<div draggable="true" class="reorder-handle"></div> <!-- drag-only reordering -->

Why it matters

People with limited dexterity and switch, eye-gaze, or voice users who cannot drag.

How to test

Try selecting a color via numeric input or click-to-select instead of dragging in the gradient field: if drag is required, it fails.

How to fix

A single-pointer, non-dragging alternative (buttons, menu option, tap) must exist for the drag operation.

<div draggable="true" class="reorder-handle"></div>
<button aria-label="Move item up">↑</button>
<button aria-label="Move item down">↓</button>

Any drag-to-reorder or drag-to-move interaction needs a single-pointer alternative like up/down buttons.

Outcome

On a recipe site's ingredient list, this barrier is gone for people with limited dexterity and switch — they reach the same outcome without extra effort.

Who is affected

People with limited dexterity and switch, eye-gaze, or voice users who cannot drag.

Learn more