Ramonda

media-with-no-captions

This fails the run. Where it is wrong about your code, // ramonda-check-ignore <reason> on the line says so, and the reason is printed on every run.

Reported when a video or audio element carries no <track>, so nothing on the page says what is in it.

Everything else on a page can be read by somebody who cannot hear it. A media element cannot: its content IS the sound, and without a track there is no text of it anywhere — not for a deaf reader, not for somebody with the sound off, and not for the search index.

Add <track kind="captions" src=… srcLang=… label=… /> inside the element. For audio-only content kind="descriptions" is the one that carries the words; subtitles is the same file under the name most people know.

Music counts, and the answer is not captions. Its content really is the sound — that is the point of it — but somebody who cannot hear it still has to be told what it is. A song with words carries them as kind="descriptions", and one without needs a label beside the player rather than a track: the title, the performer, the length. What is being asked for is not a transcript of every sound, it is that the page not be silent ABOUT the sound.

A <video muted> is NOT reported — there is no sound to caption, which is the decorative background loop and not this fault.

A label is taken as the answer, which is what music needs: an aria-label or an aria-labelledby on the element silences this. An empty one does not — that is a label written and nothing said.

Next