web-feature: Device orientation events

baseline logo Widely available in browsers but not in WebViews

The DeviceMotion and DeviceOrientation events report the movement and orientation of the browser’s device in physical space. Note that coordinates can differ noticeably between platforms and devices.

Notes

Unsupported keys in WebViews

  • WKWebView:
    api.DeviceMotionEventAcceleration api.DeviceMotionEventAcceleration.x api.DeviceMotionEventAcceleration.y api.DeviceMotionEventAcceleration.z api.DeviceMotionEventRotationRate api.DeviceMotionEventRotationRate.alpha api.DeviceMotionEventRotationRate.beta api.DeviceMotionEventRotationRate.gamma

Support data provided by: BCD logo

Know something we don't?

Is any of the above data outdated? Or do you want to add a new WebView to the list? Heads on to GitHub and edit the data file!

Not comfortable with GitHub? Send us an email.

Please help us keeping this data updated

This feature was last updated on November 22, 2025.