# Alt Text and Headings reference: Video and Audio
Part of the `alt-text-headings` skill. Read this only when the task reaches these sections.
## Video and Audio
### Video
```html
```
Requirements:
- Captions for all spoken content (WCAG 1.2.2)
- Audio descriptions for important visual content not described in the audio track (WCAG 1.2.5)
- `controls` attribute so users can pause, stop, adjust volume
- No autoplay (or muted autoplay with visible play/pause control)
- Transcript recommended as an alternative
- `aria-label` or visible heading to identify the video
### Audio
```html
Read transcript for Episode 42
```
Requirements:
- Transcript for all audio content (WCAG 1.2.1)
- `controls` attribute
- No autoplay
## Figures and Figcaptions
Use `` and `` for images with captions:
```html
Figure 3: Mobile traffic growth from January to June 2025
```
**Critical rules per W3C Images Tutorial:**
- The `` inside a `` still MUST have `alt` text -- `` does NOT replace `alt`
- `` provides a visible caption for ALL users; `alt` provides the text alternative for screen readers
- They should complement each other but not be identical (avoids double-reading)
- `` must be the first or last child of ``
- A `` can contain content other than images (code blocks, quotes, tables)
## Heading Structure -- The Rules
### Rule 1: Exactly One H1 Per Page
```html
Shopping Cart
Your Items
Widget Pro
Order Summary
My Store
Shopping Cart
```
The H1 is the page title. It describes the purpose of the entire page. There is exactly one.
### Rule 2: Never Skip Levels
```html
Products
Electronics
Laptops
Phones
Clothing
Shirts
Products
Electronics
```
Screen reader users navigate by headings. Skipped levels make them think they missed content.
### Rule 3: Headings Can Return to Higher Levels
```html
Blog
Latest Post
Introduction
Main Points
Previous Post
Summary
```
Going from H3 back to H2 is correct -- it starts a new section at the H2 level.
### Rule 4: Never Choose Heading Level for Visual Appearance
```html
Welcome to our site
Welcome to our site
```
Heading level communicates document structure, not visual design. Use CSS to control how headings look.
### Rule 5: Headings Must Be Descriptive
```html
Section 1
More Info
Details
Pricing Plans
Customer Testimonials
Frequently Asked Questions
```
Screen reader users can pull up a list of all headings on the page. "Section 1" in a list is useless.
### Rule 6: Modal Headings Start at H2
```html
Dashboard
```
The page H1 remains the H1. Modal content is subordinate.