Flag pages with <input> elements marked as type="image"

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 input element with type="image." 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 label or alt content for the alternative text is descriptive of the function of the button. 

WCAG Success Criterion 1.1.1 (Level A) outlines that alternative text for all input elements with a type attribute value of "image" identifies the purpose or function of the image. 

Users should check that the alt text describes the function of the input field. Alternatively, if no content is provided via the alt tag, the aria-label or aria-labelledby field are used to provide this information.

How to set it up:

  • Set rule to “Flag pages that contains" 

  • Set Search by to: XPath

  • Rule:

//input[@type="image"]


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

Did this answer your question?