|
| 1 | +# Alert - Audio/Video |
| 2 | +- WAVE Category: Alert |
| 3 | +- WAVE Alert: Audio/Video |
| 4 | + |
| 5 | +## Page Content Status |
| 6 | +- [X] WAVE Error guidance text |
| 7 | +- [ ] Example of a DOM Snippet Generated From WAVE Tool |
| 8 | +- Project Team Error guidance |
| 9 | + - [ ] Project Team Page Details |
| 10 | + - [ ] Project Team Issue and PR details |
| 11 | + - [ ] Project Team Solution |
| 12 | +- [ ] Credits/Authors |
| 13 | + |
| 14 | +## WAVE Guidance |
| 15 | + |
| 16 | +WAVE Tool's Reference material on Audio/Video may not specifically address your problem. We provide it here for optional reading. |
| 17 | + |
| 18 | +??? Info "Click to see WAVE Tool Reference" |
| 19 | + |
| 20 | + This content added 2026-03-23. Check for updated guidance at: <a href="https://wave.webaim.org/api/docs?format=html#audio_video" target="_blank">https://wave.webaim.org/api/docs?format=html#audio_video</a> |
| 21 | + |
| 22 | + > ### WAVE Category |
| 23 | + > Alerts |
| 24 | + > ### WAVE Error |
| 25 | + > Audio/Video |
| 26 | + > ### What It Means |
| 27 | + > An audio or video file or link is present. |
| 28 | + > ### Why It Matters |
| 29 | + > Audio content must be presented in a text format to be fully accessible to users who are deaf and hard of hearing. Video content with audio must have synchronized captions and a transcript. Audio-only content must have a transcript. |
| 30 | + > ### What To Do |
| 31 | + > For video content, ensure that synchronized captioning and a transcript is provided. For audio-only content, ensure that a transcript is provided. |
| 32 | + > ### The Algorithm... in English |
| 33 | + > An embedded QuickTime, Windows Media Player, or RealPlayer movie is present or a link is present to a file with one of the following extensions: 3gp, aif, aiff, asf, asx, avi, flv, m4a, m4p, mov, mp2, mp3, mp4, mpa, mpeg, mpeg2, mpg, mpv, ogg, ogv, qtl, ra, ram, smi, smil, wav, wax, webm, wma, wmv, wmp, or wmx. |
| 34 | + > ### Standards and Guidelines |
| 35 | + > - [1.2.1 Prerecorded Audio-only and Video-only (Level A)](https://webaim.org/standards/wcag/checklist#sc1.2.1) |
| 36 | + > - [1.2.2 Captions (Prerecorded) (Level A)](https://webaim.org/standards/wcag/checklist#sc1.2.2) |
| 37 | + > - [1.2.3 Audio Description or Media Alternative (Prerecorded) (Level A)](https://webaim.org/standards/wcag/checklist#sc1.2.3) |
| 38 | + > - [1.2.5 Audio Description (Prerecorded) (Level AA)](https://webaim.org/standards/wcag/checklist#sc1.2.5) |
| 39 | + > - [1.4.2 Audio Control (Level A)](https://webaim.org/standards/wcag/checklist#sc1.4.2) |
| 40 | + |
| 41 | +## Example of a DOM Snippet Generated From WAVE Tool |
| 42 | + |
| 43 | +> ```html |
| 44 | +> [HTML snippet showing the problematic code structure that WAVE detected] |
| 45 | +> ``` |
| 46 | +
|
| 47 | +
|
| 48 | +## Project Team Error guidance |
| 49 | +
|
| 50 | +The following material covers how the Project Team has provided a solution to the Audio/Video WAVE Alert. |
| 51 | +
|
| 52 | +### Project Page Details |
| 53 | +- Project Page name: [INSERT PAGE NAME or "ALL"] |
| 54 | +- Project Dev URL: [INSERT URL or "N/A"] |
| 55 | +- Requires sign in: [TRUE OR FALSE] |
| 56 | + - Required User Role: [INSERT ONE OF: Visitor, Logged in user, Admin, Security Admin] |
| 57 | + - Can access page directly from URL: [TRUE OR FALSE] |
| 58 | + - Accepts URL parameters: [TRUE OR FALSE] |
| 59 | +
|
| 60 | +### Project Team Issue and PR details |
| 61 | +- Related GitHub Issue(s): |
| 62 | + - [INSERT ISSUE URL] |
| 63 | +- Related Pull Request(s): |
| 64 | + - [INSERT PR URL] |
| 65 | +- React Component(s) |
| 66 | + - [INSERT PATH: e.g. path/to/Component.jsx] |
| 67 | +
|
| 68 | +### Project Team Solution |
| 69 | +
|
| 70 | +#### What is the specific problem that was occurring? |
| 71 | +<!-- Author Instructions: Add a detailed explanation of the specific accessibility problem, including context about when/where it occurs, what elements are involved, and why it's problematic for assistive technology users --> |
| 72 | +[INSERT CONTENT] |
| 73 | +
|
| 74 | +#### What is the proposed solution to this problem? |
| 75 | +<!-- Author Instructions: Add a few sentences describing the fix. "Why the Fix Works" comes later (see below). If there are lots of instructions required to explain the solution, include them in Developer Resources below --> |
| 76 | +[INSERT CONTENT] |
| 77 | +
|
| 78 | +#### Step-By-Step Guide |
| 79 | +<!-- Author Instructions: Replace details dropdown with N/A if this does not apply --> |
| 80 | +
|
| 81 | +??? Info "Click to see step-by-step guide" |
| 82 | +
|
| 83 | + [ADD DETAILED INSTRUCTIONS HERE] |
| 84 | +
|
| 85 | +#### Other Technical Details |
| 86 | +<!-- Author Instructions: Write N/A if this does not apply --> |
| 87 | +
|
| 88 | +??? Info "Click to see other technical details" |
| 89 | +
|
| 90 | + [INSERT OTHER DETAILS e.g. Prop References, Return Value ] |
| 91 | +
|
| 92 | +#### Code Snippet With Solution |
| 93 | +??? Info "Click to see code snippets" |
| 94 | +
|
| 95 | + [INSERT PATH file/path/to/Snippet.jsx] |
| 96 | +
|
| 97 | + ```jsx |
| 98 | + [Code example showing the fix/solution] |
| 99 | + ``` |
| 100 | +
|
| 101 | +#### Why the Fix Works |
| 102 | +<!-- Author Instruction: Add an explanation of how the code changes resolve the accessibility issue and why this approach was chosen --> |
| 103 | +[INSERT CONTENT] |
| 104 | +
|
| 105 | +#### Where this solution is applicable |
| 106 | +<!-- Author Instruction: Add a bullet point list of scenarios that might trigger this error and would be fixed by applying the provided solution, e.g. particular groupings of html elements, user interactivity, code-specific edge cases --> |
| 107 | +- [INSERT SCENARIO 1] |
| 108 | +- [INSERT SCENARIO 2] |
| 109 | +- [INSERT SCENARIO N] |
| 110 | +
|
| 111 | +#### Screenshots of WAVE Error |
| 112 | +
|
| 113 | +<!-- Author Instructions: when including markdown images, ensure they are responsive by specifying EITHER width OR height. Do not provide both. --> |
| 114 | +
|
| 115 | +??? Info "1. Descriptive Title for Screenshot Set 1" |
| 116 | +
|
| 117 | + Description/text for image |
| 118 | +
|
| 119 | + [INSERT IMAGE HERE] |
| 120 | +
|
| 121 | +## Credits/Authors |
| 122 | +<!-- Author Instructions: Add bullet points with GitHub handles of all HfLA members who contributed to this wiki page and/or contributed to Pull Requests that provided solutions for this page --> |
| 123 | +- @Rabia2219 |
| 124 | +- [INCLUDE Contributor 2] |
| 125 | +- [INCLUDE Contributor N] |
0 commit comments