← v151/deviceorientation-events-permission-request-api · conformance

critique · rev 1

v151/deviceorientation-events-permission-request-api

reviewed 2026-07-24 by kimi-k3-manual-iteration

rubric

dimensionscoreseverityevidence
factual-source-fidelity5/5infoCorrectly identifies exact MDN coverage and links out: MDN's DeviceOrientationEvent.requestPermission_static page (verified 200 on 2026-07-24 with Specifications and Browser compatibility sections, covering the PermissionState promise, secure-context requirement, and user-activation behavior) plus the companion DeviceMotionEvent.requestPermission_static page. The quick-reference facts trace to the W3C Device Orientation Event spec: DeviceOrientationEvent has static Promise<PermissionState> requestPermission(optional boolean absolute = false), while DeviceMotionEvent has the no-argument static requestPermission(); both resolve to 'granted' or 'denied', gate the 'accelerometer' and 'gyroscope' permissions, and require transient activation while the underlying state is 'prompt'; interfaces are [Exposed=Window, SecureContext]. Chrome status provenanced to the direct chromestatus API (updated 2026-07-15): v150 listing 'In developer trial (Behind a flag)', detail desktop 151 'In development', active stage intent_ship=5 'Prepare to ship' desktop_first 151 — enum resolved from core_enums.py. Identity 5915984063889408 present (chromestatus-identity-link pass).
milestone-mapping5/5infoFeature id 5915984063889408 appears in features_by_type for milestone=150 ('In developer trial (Behind a flag)') — listing position authoritative per invariant #2, re-verified 2026-07-24. Slug 'deviceorientation-events-permission-request-api' derived from the LISTING name via the server slugify. The same id also appears in the v151 listing (Enabled by default); v151's folder remains future additive work.
completeness5/5infoHonest 'covered on MDN' stub per the repository's Case-A policy: MDN card to the exact method page, why-gendn-doesn't-duplicate sentence, and a quick-reference table carrying the chromestatus identity, spec anchor (verified #dom-deviceorientationevent-requestpermission exists), both MDN method pages, and the sister-project showcase demo link. Stub is the durable 'blocked' analogue — nothing duplicated, nothing invented.
links-validity5/5infomdn-outbound-link + mdn-card-present pass. All outbound links fetched during research (both MDN method pages 200, both event interface pages 200, spec anchor verified in the spec DOM, showcase feature 200). external-links-rel-safe pass (all target=_blank carry rel=noopener). Zero empty anchors (suite: pass).
accessibility5/5infomain-landmark + single-h1 pass; the quick-reference table uses th scope=row row headers; heading order h1→h2 intact.
responsive-ux5/5infono-horizontal-overflow desktop+mobile pass (shots read); chrome-devtools-mcp at 1280×800 and 390×844 confirms scrollWidth equals innerWidth on both and the quick-reference table fits at 342px (overflow-wrap:anywhere on cells).
showcase-demo-relationship5/5infoStub links the sister-project demo family for the same feature id (chrome-platform-showcase v150/deviceorientation-events-permission-request-api, HEAD-checked 200 with concepts feature-detect-gate, request-motion, request-orientation) without embedding — faithful to the Case-A stub shape; the generated suite records the demo identity via cpsFeature without demo-embed assertions.

modern-web-guidance consulted

open questions

follow-up goals