Accelerometer
Limited availability
The Accelerometer, LinearAccelerationSensor and GravitySensor APIs read the acceleration applied to a device in three dimensions, either including the effect of gravity, without its effect, or only its effect, respectively.
Browser support
- Chrome 91 Released on 2021-05-25
- Chrome Android 91 Released on 2021-05-25
- Edge 91 Released on 2021-05-27
- Firefox Not supported
- Firefox for Android Not supported
- Safari Not supported Position: oppose (concerns: duplication, privacy, venue, use cases, power, device independence)
- Safari on iOS Not supported Position: oppose (concerns: duplication, privacy, venue, use cases, power, device independence)
MDN documentation
Specifications
- Accelerometer, from Devices and Sensors Working Group (W3C).
Usage (according to Chrome Platform Status)
~0.318% of page loads. More data at chromestatus.com.Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist