Motion-activated content can be prevented or used in other ways
Overview
Smartphones and tablets can use motion sensors to make a particular feature or content work (tilting, shaking, etc.) However, for users that may need a device in a fixed position, or can't move the device in a particular motion, that feature or content may be unusable. Some users may also activate the motion accidentally, starting an action that they don't want.
Best Practices and Tips
Provide single pointer controls for any motion-based action
Having a button, input, link, or other control as needed will allow users to operate the content or feature in a way that works for them, in addition to the motion-based version.
Let users turn off motion actuation
Some users may not want to activate anything by motion at all. A site or system-level setting to turn off motion can do that across all content.
Examples/Patterns
Accessible Example: Microsoft Teams
Teams on mobile has the ability to send feedback through shaking the device. In help and settings, there is an option to turn off the shaking mechanism. There is also a separate send feedback option that doesn't require the user to do a shaking motion.