Back to All Rules
Serious1.1.1 Non-text Content (Level A)Rule ID: object-alt

Object elements must have text alternatives

An `<object>` element is missing equivalent text content or fallback information.

Rule Description

Checks embedded <object> content for accessible fallback text or equivalent alternative access path.

Why It Matters

  • Some users cannot perceive or load embedded object content
  • Assistive technologies may not expose embedded content consistently
  • Fallback text ensures continuity when plugins or formats fail

How to Fix

Provide meaningful fallback text or an accessible alternative inside the <object> element.

Bad Example:

<object data="brochure.pdf" type="application/pdf"></object>

Good Example:

<object data="brochure.pdf" type="application/pdf"> <p>Download the brochure: <a href="brochure.pdf">PDF brochure</a></p> </object>

Common Mistakes

  • Empty <object> tags
  • Fallback links without descriptive text
  • Relying on unsupported plugin content only

Testing

  • Disable plugin/rendering support and verify fallback content
  • Test with screen reader announcement of fallback text
  • Confirm keyboard navigation reaches alternatives

External Resources

Automate Your Accessibility Testing

Our tool automatically checks for this rule and hundreds of other accessibility issues.

Start Your Free Trial