Proposed Rule: Title and alt attribute of img tags should be identical
Rule: Empty alt attributes should not be allowed
Review the Sonar way profile
should check for empty alt
Manually tested ! I'm going to send an email to get a confirmation about the last point.
This check is not good enough - it does not work well on the Sonar codebase for example.
We need to split it and reduce its scope.
Moreover, we should add the IE argument regarding the 'title' attribute.
Plus, we could consider developing a rule which verifies that the 'alt' and 'title' attributes are equal.
Starting at 956 violations
Down to 841
Manually tested !