axe-core rule: object-alt

Embedded objects are missing text alternatives

What it is

An object element (embedded media or plugin content) has no text alternative, so its content is unavailable to assistive technology.

Who it blocks

Screen reader users get no information about the embedded content.

How to fix it

Provide a text alternative via aria-label, or include fallback text inside the object element.

Example fix

<!-- Before -->
<object data="/charts/q3.svg" type="image/svg+xml"></object>

<!-- After -->
<object data="/charts/q3.svg" type="image/svg+xml" aria-label="Q3 revenue chart: sales up 12 percent">
  Q3 revenue chart: sales up 12 percent over Q2.
</object>

This is one of the barrier types BarrierScan checks for on every scan. Request a free accessibility scan to see whether it appears on your site, alongside the rest of the automated findings.