Accelerometer
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.
Status
Limited availability
This feature received a negative standards position from at least one browser vendor. It's very unlikely to ever become Baseline in this current form.
MDN documentation
Specifications
- Accelerometer, from Devices and Sensors Working Group (W3C).
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 ❌
- Firefox for Android ❌
- Safari ❌ Vendor position : oppose (concerns: duplication, privacy, venue, use cases, power, device independence)
- Safari on iOS ❌ Vendor position : oppose (concerns: duplication, privacy, venue, use cases, power, device independence)
Usage (according to Chrome Platform Status)
~0.156% of page loads. More data at chromestatus.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist