问题原文
原帖链接 · ma77c · CC BY-SA 4.0
On our product pages, we have a main image of the product as well as several "zoomed in" images that highlight different parts of the product.
I am assuming that using the exact same alt text for the zoomed in images is not recommended?
Is there any standard precedent for this situation?
已采纳解答
原帖链接 · Henry Visotski · CC BY-SA 4.0
There can be more than one path here, and it depends on a couple of factors:
Do you want all the images to be competitive in image search, or are you okay with only your main product image being competitive?
Are those zoomed-in images crucial for individuals with accessibility challenges, or is it okay if screen readers and other such technologies skip over them altogether?
One path you can take is to give your main product image strong alt text, and the rest of your related images minimal alt text with slight variations:
Main image - "Widget by Company, the thing that does some things."
Zoomed-in image #1 - "Widget, view from the front."
Zoomed-in image #2 - "Widget, another view."
Another path is to give your main image a great alt tag, and let the others have duplicate alt tags. The reason this is not recommended, as you mentioned, is that it may not be great user experience for screen readers, and might devalue those secondary images for search, but technically you won't be penalized, so it's okay to do this if it fits your particular case.
If those supplemental images are not crucial at all, you can leave your alt tags blank, as if those images were design elements. (Web designers leave images like lines, geometric shapes, and background gradients without alt text, which makes them virtually invisible to screen readers and mostly ignored by search engines.)
Here's a related discussion on Moz's boards.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
