Skip to main content
Version: v6

Object element rendering non-text content is missing accessible name

Object element rendering non-text content is missing accessible name — rule summary
FieldValue
Rule codeObject_NoText_Name_Missing
WCAG conformance levelA
WCAG success criterion1.1.1 Non-text Content
Must be fixed at sourceNo

Description

We detected an object which renders non-text content that is missing an accessible name. Some screen readers announce object elements even if they do not have an accessible name, while others skip the element. If an object is used to render decorative content, to ensure it is marked as decorative and can be ignored by all major screen readers a presentational role is necessary. If the content is not decorative, it must be assigned an appropriate label.

How to fix

If the content that is rendered using the object element is meaningful, add a descriptive label to the object. The label should describe the purpose or contents of the media, and must be concise and descriptive. If the object is rendering decorative content, a role of presentation can be used to indicate to screen readers that the object is decorative.