I have a question regarding alt tag for images.
In our new shops, the alt attribute will be created automatically based on the file name (but without a hyphen in between) on all images of a same product. Example: cookies and cream candle
Is this repetition an issue? Are there some next practices we could implement here?
Thanks in advance
Alt texts are mostly used for two cases:
However, most of the time, people use alt text for Google to read, which is a way to optimize your page for SEO. So here's the answer for your question:
Here's what you should do:
I hope this helps.
PS: If you want to learn more about SEO, you can check this article. It's about making your product pages SEO friendly. But I think once you can make product pages SEO friendly, you can do the same thing to any page.
For alt attributes, I set up an automated system that names them like this: [product title] - [product type] [variation].
You can see the details + my full strategy in this article: Image SEO for Shopify.
Using an example with that system, an image's alt attribute might look like this: Smiley Face Tee – Men’s T-Shirt White.
That method works great for Google image search because you get the design name + product type + color, all things people search for.
If you haven't yet, search for your product keyword on Google images to see how they rank, how they show up, and what the text snippet looks like when you click on them.
You can get some really good insights in there. Over 20% of all US web searches happen on Google Images so it's definitely worth optimizing.