• Success Criterion 2.5.4
  • Conformance level A

Shake-to-Undo Feature With No On-Screen Button Equivalent

2.5.4 — Motion Actuation

Scenario

Setting

A telehealth app's video-visit waiting room

What’s wrong

Shake-to-undo / shake-to-report as the only route to that function, no UI control equivalent.

Example

window.addEventListener('devicemotion', (e) => {
  if (isShakeGesture(e)) openReportIssueDialog();
});
// no button labeled "Report a problem" exists anywhere in the interface

Why it matters

A patient whose video freezes right before their appointment has no way to flag it if they can't physically shake the phone.

How to test

Try to trigger the same function (undo, report) via an on-screen button instead of shaking the device: if no UI equivalent exists, it fails.

How to fix

Keep shake as a shortcut if desired, but every shake-triggered action needs an on-screen button doing the same thing.

<button onclick="openReportIssueDialog()">Report a problem</button>

Outcome

A patient taps 'Report a problem' and reaches support without moving the device at all.

Who is affected

Patients propping a tablet on a stand, people with limited arm mobility, and anyone in a wheelchair with the device mounted.

Learn more