Flag pages with the <object> element

Allows users to review pages with specific elements for additional quality

Updated over a week ago

This policy can be used to create a list of pages that have an object element. DubBot natively screens to verify that alternative text is actually included for this type of element as recommended per WCAG. 

This flag can be used to further curate a list to manually review that the provided alternative text is appropriate for the object being embedded. 

Alternative text can be provided in one of three ways:

  1. As content between the object opening and closing tags

  2. As content in the title attribute of the object tag

  3. As content in the aria-label attribute of the object tag

  4. As content in another element where the element's id is referenced in the aria-labelledby attribute of the object tag

How to set it up:

  • Set rule to “Flag pages that contains" 

  • Set Search by to: XPath

  • Rule:

//object

Note: this policy does not indicate that there is something necessarily wrong with the object embed. This policy should just be used to create a list of pages for reviewing the provided alternative content for the object field.

Did this answer your question?