Embedded objects must have a text alternative
Rule
object-alt· Images & non-text content · impact serious · Static + live
Why it matters
Embedded
How to fix
Provide aria-label/aria-labelledby, or descriptive fallback content between the
Example
<object data="report.pdf" type="application/pdf"></object>
<object data="report.pdf" type="application/pdf" aria-label="Annual report (PDF)"></object>
Example
<object data="chart.svg" type="image/svg+xml"></object>
<object data="divider.svg" type="image/svg+xml" role="presentation"></object>
role="presentation"/"none" marks a purely decorative embed, so no text alternative is required.
WCAG success criteria
1.1.1 Non-text Content — Level A
All non-text content (images, icons, controls) needs a text alternative that conveys the same purpose, or be marked decorative so assistive tech can ignore it.
Standards
This rule contributes to the following standards:
WCAG A EN 301 549 Section 508
| Standard | Criteria |
|---|---|
| Section 508 | 1194.22(a) |
| EN 301 549 | 9.1.1.1 |