Skip to content
Repository for the WebXR Device API Specification.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
designdocs Moved design docs to a designdocs/ folder Dec 7, 2018
.gitignore create auto-commit script using GitHub Webhook ⇒ Travis CI ⇒ GH repo;… Apr 12, 2017
.pr-preview.json Enable pr-preview Sep 5, 2017
.travis.yml Testing gh-pages deployment May 29, 2018 Align repo administrative files with operations under the IWWG umbrella Oct 4, 2018
Makefile Moved spec up to top level of the repo Mar 29, 2018 Fix link to Working Group charter Mar 11, 2019 Remove attribs that only reflect requested values (#574) Apr 19, 2019
favicon-32x32.png Added a favicon for the spec Mar 27, 2019
favicon.ico Added a favicon for the spec Mar 27, 2019 Adding an explainer for real-world hit testing (#493) Feb 4, 2019 Status metadata does not need "w3c/" Apr 19, 2019
package.json Moved legacy WebVR spec out to it's own repo Dec 12, 2017 Remove attribs that only reflect requested values (#574) Apr 19, 2019
style.css Moved the spec around a bit to make it easier for people to find 1.1 Mar 14, 2017
w3c.json Update w3c config file for repo Nov 7, 2018

WebXR Device API Specification

Build Status

The WebXR device API is for accessing virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays on the Web.

Headset Devices Handheld Device e.g. Phone
VR VR Devices, previously handled by WebVR Magic Window Behaviour
AR Mixed Reality Headsets Phone AR

The WebXR Device API Specification is the repository of the Immersive Web Working Group.

Taking Part

  1. Read the code of conduct
  2. See if your issue is being discussed in the issues, or if your idea is being discussed in the proposals repo.
  3. We will be publishing the minutes from the bi-weekly calls.
  4. You can also join the working group to participate in these discussions.


  • WebXR Device API Specification: Main specification for JavaScript API for accessing VR and AR devices, including sensors and head-mounted displays.
  • Legacy WebVR API Specification: Legacy WebVR API 1.1 specification for JavaScript API for accessing VR displays. Development of the WebVR API has halted in favor of being replaced the WebXR Device API. Several browsers will continue to support this version of the API in the meantime.
  • Gamepad API Specification: Introduces a low-level JS API interface for accessing gamepad devices.
  • Legacy Gamepad Extensions API Specification: Extends the Gamepad API to enable access to more advanced device capabilities.

Relevant Links



To generate the spec document (index.html) from the Bikeshed document:



For normative changes, a corresponding web-platform-tests PR is highly appreciated. Typically, both PRs will be merged at the same time. Note that a test change that contradicts the spec should not be merged before the corresponding spec change. If testing is not practical, please explain why and if appropriate file a web-platform-tests issue to follow up later. Add the type:untestable or type:missing-coverage label as appropriate.


Per the file:

All documents in this Repository are licensed by contributors under the W3C Software and Document License.

You can’t perform that action at this time.