ITADN

Feature: Hide Unavailable Media Radio Groups

#2075Closedmihar-22 创建于 16 天前
componentsa11ypkg:corepkg:htmlpkg:reactmedia
M
mihar-22commented
## Context Media-backed radio groups should disappear when they have no meaningful choices. Audio tracks, captions, playback rates, and quality options need one shared hidden-state contract instead of framework-specific checks against raw availability. ## Acceptance criteria - [x] Core radio-group state derives a shared `hidden` value from availability. - [x] HTML exposes `data-hidden` and the native `hidden` attribute. - [x] React option hooks expose the same hidden state. - [x] State transitions are covered across core, HTML, and React. - [x] Documentation describes the shared contract. ## Resolution Resolved by #2069.
关闭于 16 天前 0 条评论