This check is working, looks like checkAttr is to blame when no `alt` or `title` attributes are present.