Image titles and alt texts are both attributes in an image tag that describe the content of that image. .
Both should be written with the user in mind but alt text is the main source of information about what’s in the image.
.
Titles should add extra information that couldn’t be included in the alt text.
.
Help users who can’t see the image understand what’s in an image
.
Help search engines understand what’s in the image
.
Use a keyword that’s relevant to the image as well as the page content