WCAG Success Criteriawcag-2.2-A
WCAG 2.5.4: Motion Actuation
WCAG 2.5.4 requires that any functionality triggered by device or user motion (such as shaking or tilting) must also be operable through conventional user interface components, and users must be able to disable motion actuation to prevent accidental activation.