Accy

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.

As it is
<object data="/catalogue.pdf" type="application/pdf"></object>
As it should be
<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

Does your shop have this failure?

Check for free, along with the other 54 rules. No sign-up.

No sign-up. We scan one public page and store nothing about you.