alphagov / accessibility-tool-audit

Automated accessibility tools audit
https://alphagov.github.io/accessibility-tool-audit/
MIT License
80 stars 30 forks source link

Should different img alt/title be an issue? #45

Open JamesCatt opened 5 years ago

JamesCatt commented 5 years ago

I'm not clear on why "Image has alt and title that are different" should be flagged by checkers.

According to the spec, when alt and title are both present, alt should be used as the accessible name, and title as the accessible description.

I believe SRs aren't compliant with this and tend to just ignore the title on img elements altogether, but the point here is that alt and title should not be the same, no?