This check flags image files that contain alt text that is the same as the file's name.

How to set it up:

  • Set rule to “Flag pages that contains" 

  • Set Search by to: XPath

  • Rule:

//img[@alt and @alt!="" and contains(@src, @alt)]

Did this answer your question?