Dostępność

a11y/media-alternative

Recorded audio has a transcript; recorded video has audio description of what is only shown, or a full text alternative.

poważnaręczneWCAG 1.2.1, 1.2.3, 1.2.5 · AAfe-a11y-media

Dlaczego

A podcast without a transcript is closed to deaf people; a product demo where the steps are only shown on screen is closed to blind people. Captions alone do not describe what is seen.

Poprawka

Link a transcript right next to every audio player. For video, describe important visual information in the narration itself (the cheapest way), add an audio-described version, or at AA at least provide described audio; a full text transcript with the visual details is the A-level minimum. Keep the transcript as HTML, not a PDF.

Przykłady

<!-- good -->
<audio controls src="episode-12.mp3"></audio>
<p><a href="/podcast/12/transcript">Read the transcript of episode 12</a></p>

Źródła

Fakty

Identyfikator
a11y/media-alternative
Waga
poważna
Sprawdzanie
ręczne ocenia człowiek; raport podaje to jako listę kontrolną
Dotyczy plików
page
WCAG 2.2
1.2.1, 1.2.3, 1.2.5, poziom AA
Uczy jej skill
fe-a11y-media Media, motion and flashing
Od wersji
0.1.0

Plik reguły na GitHubie

Przeczytaj w terminalu

npx github:dawidolko/frontend-skills explain a11y/media-alternative