Accessible names for object elements (object-accessible-name)

Object elements that render non-text content must have a non-empty accessible name, provided using the title, aria-label, aria-labelledby, or fallback text content.

Note: Adding an img inside an <object> does not contribute to the object's accessible name.

Object ignores nested image:

This <object> element embeds content and includes a nested img with alt text. However, the image’s alt text is not used to compute the object's accessible name. As a result, the object remains unnamed and fails WCAG 1.1.1.


image

Note: Possible to implement because lack of accessible name can be programmatically detected when no valid naming source (like title or aria-label) is present, and fallback content like img alt is not used in name computation.

axe detected: 1.1.1  |  QualWeb detected: 1.1.1