One thing I'd like to look at soon is addressing WCAG and ATAG for audio and video media types. Basically, authors should be able to provide captions and transcripts. The ATAG principle is that authoring tools should help to produce accessible alternatives for non-text content.
When core didn't have audio/video, it meant this wasn't in scope to address the WCAG and ATAG criteria.
Back in Vienna Drupalcon, at the media initative update, I asked about how to manage transcripts and captions. The answer was something like "media is just a framework, so it's up to site builders to figure out how audio/video transcripts will be managed and presented". In the case of 3rd party hosted media platforms, some already provide means to manage captions on the hosting platform, and individual media type plugins would need to address the individual platform APIs when rendering embedded content in Drupal.
That's fine so long as we just see media as a bunch of framework modules, and leave the accessibility plan up to site builders.
But since then, the standard install profile has added pre-configured media entity bundles for local audio, and local video, in #2934962: Ship local audio and video media types in Standard β . This brings the WCAG and ATAG criteria into scope for the Drupal core accessibility gate. There's currently no way for an author to provide text alternatives for local media, and that's failing at level-A.
We should figure out how to manage transcripts, captions, and subtitles, for LOCAL audio + video media entities.
A minimum viable product for managing and publishing captions and transcripts could be this:
/media/%
page where the full transcript can be viewed. This suits some situations where videos and audio entities are embedded in a broader narrative article, say.<track>
attributes.
<video>
and <audio>
elements, which in turn only support WebVTT format for tracks.<track>
attribute values specified by the HTML5 recommendation. This just means ensuring that authors can specify all of the srclang, kind, label, default
attributes. Browsers don't support all kind
values yet (like audio descriptions and chapters) but some 3rd-party JS video players do.<track>
element nested inside the <audio>
and <video>
elements.
FileMediaFormatterBase
, so we can do it in the same task issue as the video formatter..vtt
will just be the default.See child issues for the actual implementation details.
Active
10.1 β¨
Last updated
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.