This project is not covered by Drupal’s security advisory policy.

Captions and Transcripts will add WebVTT caption tracks and accessible transcripts to video and audio media in Drupal, with a review flag so that AI-drafted captions never reach visitors until a person has checked them. Core's video formatter outputs no <track> element today.

Status: No release yet. The module is under active development; the first beta follows once its automated test suite and an independent review pass.

This module is developed with AI assistance. The maintainer reviews and tests every release before publishing it.

Planned for 1.0

Captions for prerecorded video are part of WCAG 2.1 level AA (success criterion 1.2.2), the standard in the ADA Title II rule, whose deadlines are 26 April 2027 for public entities serving 50,000 people or more and 26 April 2028 for smaller ones. None of this is released yet. The first release will provide:

Caption tracks

  • A caption track field: the file, its kind (captions, subtitles, descriptions or chapters), its language (srclang), a label, whether it is the default, and whether it has been reviewed.
  • WebVTT validation on upload that parses the cues, their timestamps and their order, and rejects malformed files with messages that say what is wrong.

Display

  • Formatters for core file video and audio that output <track> elements.
  • An accessible transcript, from its own field or generated from the captions, that opens and closes from the keyboard and can optionally be linked to the playback time.
  • Transcripts for remote video too, and links to a provider's captions where the provider allows it.

Optional AI submodule

  • A WebVTT draft from a media item's audio, made through the AI module's speech-to-text operation and marked unreviewed.
  • Unreviewed tracks never shown to the public.
  • A clear message, rather than a silent failure, when a file is too large for the provider.

Requirements

Planned for the first release:

  • Drupal 11.3 or later, or Drupal 12.
  • PHP 8.3 or later.
  • Core's Media and File modules.
  • For the AI submodule: the AI module with a provider that offers speech-to-text.

Installation

Installation instructions arrive with the first release. For the first beta, the commands will be:

composer require 'drupal/captions_transcripts:^1.0@beta'
drush en captions_transcripts

Configuration and permissions

Not final yet. This section will list each settings page and each permission, by its real label, with the first release.

Similar projects

Checked on drupal.org in November 2026.

  • Able Player integrates an accessible media player that supports captions and transcripts. Choose it if you want that player; this module is planned around core's own video and audio output, with a review step for captions.
  • YouTube Video Transcript shows transcripts for YouTube videos. It has releases only for Drupal 8 and is marked unsupported.
  • We found no current drupal.org project that adds caption tracks to core's video output.

Support and maintenance

Report bugs, ask for features and comment on the planned scope in the issue queue. Each release will have notes describing what changed.

This project is not covered by Drupal's security advisory policy. Until it is, security issues are handled in the public issue queue and fixed in ordinary releases.

A read-only mirror is on GitHub at DanePete/drupal-captions-transcripts. It will mirror the drupal.org repository once code is published there; development and issues stay on drupal.org.

Maintainer

Created and maintained by deadnorth (Dead North).

Project information

Releases