W3C Invites Implementations of Device Orientation and Motion


The Devices and Sensors Working Group and Web Applications Working Group have jointly published Device Orientation and Motion as a W3C Candidate Recommendation.This specification defines events that represent the physical orientation and motion of a hosting device. These events provide web applications with access to orientation and motion data. The specification is designed to be agnostic to the underlying sources of this data, aiming to achieve interoperability across different environments.New features since publication as a Candidate Recommendation include integration of Permissions Policy and API, which now requires explicit user consent through requestPermission() for accessing device orientation data.Comments are welcome via the GitHub issues by 19 December 2024.