问题原文
原帖链接 · Ivo van der Veeken · CC BY-SA 3.0
I have a (mostly) standard phpBB forum so right now, images that are posted in [IMG] BB-tags don't have an alt text. I would like to change this and I'm doubting between two options:
- Use the topic title as alt text
- Use the most used words in the first post as alt text (I have a mod installed that sets those words as meta keywords)
A page has a maximum of 30 posts and the subforums that have a lot of pictures aren't accessible to Google. So at most, I think there will be 5 images per page. Is using the same alt text 5 times bad SEO-wise? Is there anything else I can do to get the right keywords to add?
已采纳解答
原帖链接 · Max · CC BY-SA 3.0
The image alt attribute is used to describe an image when the image cannot be rendered. It is also used by 'screen reader' software where the content of the website is read out aloud, usually for users who's sighting is impaired.
So the alt attribute should be descriptive of the actual image:
e.g:
<img src="sunset.jpg" alt="photo of a sunset over the ocean">
So unless the topic title or the most used words accurately describe the image, you should not be using either of these solutions. They would be unhelpful and if just using a list of keywords, could potentially be seen as keyword stuffing by Google.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
