New block: core/transcript #44539
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
New Block
Suggestion for a new block
[Status] In Progress
Tracking issues with work in progress
What problem does this address?
A text transcript is an important type of alternative content for timed media, like audio and video. WordPress offers standard blocks for displaying audio and video, but does not provide a standardized way to display transcripts.
What is your proposed solution?
A transcript block could ensure a stable and standardized way to add alternative content for timed media.
For the disclosure model, the transcript block could consist of a
details
andsummary
interaction, where thesummary
element has a contained heading. The heading should be configurable by the user, but by default should either beh2
orh3
.The details/summary pattern isn't fully mature, but does have broad support. I would still suggest using it rather than rolling a custom disclosure widget, thinking long term. See: https://www.scottohara.me//blog/2022/09/12/details-summary.html
E.g.
The text was updated successfully, but these errors were encountered: