Webtrax docs

Rules · Accessibility (browser, axe-core WCAG 2.x A/AA)

<audio> elements must have a captions track

a11y.audio_caption · default severity MEDIUM · rule version 1

Why it matters

Ensure <audio> elements have captions. WCAG: 1.2.1.

How to fix it

<audio> elements must have a captions track. Deque's guidance for this rule: https://dequeuniversity.com/rules/axe/4.14/audio-caption

Checking the fix

Run the check again (webtrax check <url>), or compare two runs with webtrax diff: a fixed finding moves to "Fixed". To see this guidance from the terminal, run webtrax explain a11y.audio_caption.