Embedded content with no name or fallback
WCAG 1.1.1 (A) · EN 301 549 9.1.1.1
There is an <object> or <embed> with no accessible name and no fallback content inside.
Why it matters
If the browser cannot render the embedded content, or the person uses assistive technology, nothing is left: no description and no alternative.
How to fix it
Add an aria-label describing the content, and put a text or link fallback inside the <object> in case it does not load.
<object data="/catalogue.pdf" type="application/pdf"></object><object data="/catalogue.pdf" type="application/pdf" aria-label="Season catalogue">
<a href="/catalogue.pdf">Download the catalogue as PDF (2 MB)</a>
</object>Related
- Images with no alternative text
- Alternative text that carries no information
- Image button with no alternative text
- Image map area with no name
Does your shop have this failure?
Check for free, along with the other 54 rules. No sign-up.