← v147/lazy-loading-for-video-and-audio-elements · conformance
critique · rev 2
v147/lazy-loading-for-video-and-audio-elements
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Upgrade re-verified every claim against live sources 2026-09-20: WHATWG PR #11980 (merged 2026-03-23), the living standard's lazy-loading-attributes section (enumerated states quoted verbatim) and media-elements section (IDL reflection wording, will-lazy-load steps incl. poster deferral), BCD video/audio/HTMLMediaElement (Chrome 150 full, 148–149 partial with the <source> caveat crbug 514611050), runtime flag LazyLoadVideoAndAudio now stable, webstatus.dev loading-lazy-media Baseline limited, vendor positions mozilla#1325 / WebKit#586. |
| milestone-mapping | 5/5 | info | Page keeps its v147 identity (feature 5200068565139456, dev-trial position in the milestone=147 listing) per the durable-demo contract; the post-147 shipping story (148 partial / 150 full) is layered on as banner + compat data with dates, not by re-filing the page. |
| completeness | 4/5 | info | Surface is one enumerated content attribute, its IDL reflection, and the deferral behavior — all three inventoried with nine-dimension mappings in the new reference-contract.json. Single-page coverage is proportionate; no child routes needed. |
| explanation-quality | 4/5 | info | New syntax section separates content-attribute grammar (with the eager default for missing/invalid values) from DOM reflection; the deferral table now covers poster deferral and the 148–149 <source> caveat developers would actually hit. |
| examples | 4/5 | minor | Markup examples (basic, audio, preload combination), feature-detect, and IDL-reflection snippet; live showcase demo embedded (media-loading-timeline) with four sibling concepts linked. Examples are source-derived, not executed locally. |
| browser-compat-fallbacks | 5/5 | info | Hand-written 2026-05 support table replaced with a BCD-anchored per-version table (Chrome 150/148–149 partial, Edge mirror, Firefox bugzil.la/2005072, Safari webkit.org/b/303995) plus the webstatus.dev Baseline-limited row; the old prose table's stale 'in developer trial' claim is corrected. |
| links-validity | 5/5 | info | All previously unlinked citation labels ('chromestatus summary, May 2026') now link the API record and PR; showcase feature + media-loading-timeline concept routes HEAD-checked 200 on 2026-09-20; '(when built)' note removed since the demos exist. |
| accessibility | 5/5 | info | Single h1, sequential h2 outline (former h3 subheads folded into strong paragraphs so fragments stay coherent), th scope=row added on the glance table, banner role=note with aria-label, iframe title + figcaption. |
| responsive-ux | 4/5 | info | Added the newer pages' overflow protections this legacy page lacked: overflow-wrap:anywhere on h1/lede/code, .table-wrap{overflow-x:auto} around all four tables, pre overflow-x, iframe max-width:100%; verified via the repo responsive matrix (mobile+desktop screenshots read). |
| showcase-demo-relationship | 5/5 | info | Five CPS concept routes exist; media-loading-timeline embedded (most on-topic for deferral timing), the other four linked in the figcaption; the reconciled conformance.json cpsFeature.route records the media-loading-timeline concept while cpsFeature.conformanceRoute still points at feature-level conformance; assertions and suiteHash stayed unchanged. |
modern-web-guidance consulted
- reference documentation page responsive tables code blocks accessibility — Semantic heading order, labelled tables with th scope, descriptive iframe titles. (Applied: h3s that fragmented the outline replaced with strong paragraphs, th scope=row added, role=note banner, iframe title + figcaption.)
- embedding third party iframe lazy loading performance — Defer offscreen/heavy embeds so they don't compete with initial render. (Applied: the showcase iframe itself uses loading="lazy" below the fold — fittingly, the same mechanism the page documents.)
- reference documentation page responsive tables code blocks accessibility — Native semantic markup over re-implementation; resilient no-JS reading experience. (Applied: all upgrade content is static semantic HTML; page remains fully readable with no script.)
open questions
- Whether Chrome's lazy-loading distance threshold for media matches the img/iframe thresholds is not stated in the sources read; the page deliberately says 'browser-defined'.
- BCD marks Edge as 'mirror'; if Edge diverges (e.g. ships the fix at a different version), the compat table needs its own row.
- The autoplay, play(), and poster rows were checked 2026-10-08 against the merged HTML Standard media loading, autoplay eligibility, and play() steps, and the page now cites those live normative anchors rather than relying on PR #11980 alone. Runtime autoplay permission and network timing on specific browser builds have not been tested; do not infer unconditional autoplay or an exact lazy-load distance.
follow-up goals
- [medium · targeted-fix] When Firefox (bugzil.la/2005072) or Safari (webkit.org/b/303995) ships loading on media elements, update the compat table and Baseline banner — the feature may then reach Baseline newly available.
- [medium · targeted-fix] Verify the autoplay/play() interaction rows against the merged HTML resource-selection algorithm text and cite the exact spec steps instead of the pre-merge PR.
- [high · additive-page] Apply this same MDN-shape upgrade (banner, syntax, BCD table, showcase embed, linked citations) to the remaining v147 old-shape pages, thinnest first.