All specs
W3C WebXRW3CShould KnowProduct

WebXR Device API

Graphics & XR·World Wide Web Consortium
WHY YOU NEED THIS

The standard for browser-based VR/AR: headset rendering, controller input, room-scale tracking, and AR overlays. Supports Meta Quest, Apple Vision Pro, HoloLens, and phone-based AR. Works with WebGL and WebGPU for rendering.

What It Defines

API for immersive VR and AR experiences in the browser. Provides XRSession (immersive-vr, immersive-ar, inline), XRFrame (pose tracking), XRReferenceSpace (local, bounded-floor, unbounded), XRInputSource (controllers, hands), hit testing, anchors, and light estimation.

Canonical (Normative)

Convenient (Practical)

Related References

webxrvrarxrimmersiveheadsetgraphicsbrowser
Standards Body
World Wide Web Consortium

Publishes web platform specs including CSS, accessibility, security policies, Service Workers, Web App Manifest, and many browser APIs. Also maintains some versioned HTML/DOM specs.

Visit

Related Specs

W3C WebGPUW3CShould Know

WebGPU

The successor to WebGL with dramatically better performance and GPU compute support. Enables ML inference on GPU, real-time ray tracing, physics simulation, and AAA-quality rendering in the browser. Ships in Chrome, Edge, and Firefox.

ProductGraphics & XR
Details
Khronos WebGL 2.0KhronosMust Know

WebGL

The established GPU rendering API in browsers. Powers Three.js, Babylon.js, PixiJS, MapboxGL, Google Earth, and countless games and visualizations. WebGL 2.0 has near-universal support and is the baseline for serious graphics work.

ProductGraphics & XR
Details
W3C GamepadW3CNiche

Gamepad

Required for web-based games and interactive experiences. The polling model (no events for button presses) means you need a requestAnimationFrame loop. Supports Xbox, PlayStation, Switch Pro, and generic HID controllers.

ProductInput & Interaction
Details
W3C Generic SensorW3CShould Know

Sensors

Enables motion-based UX (shake to undo, tilt to scroll), compass features, step counting, and AR experiences. The unified permission model means understanding the base Sensor lifecycle covers all sensor types.

ProductDevice Access & Sensors
Details