An image’s alt attribute provides alternative text, conveying information people still need when they cannot see the image. The title attribute provides supplementary information and is not a substitute for alt. Ordinary text links do not use alt. Start with clear link text, then use title to add information about the destination if needed. If an image serves as a button or link, its purpose also needs to be explained. Do not fill every attribute with the same keywords just for SEO.
Determine an image’s purpose before writing its alt text
Alt text is not just fallback text for images that fail to load. It also helps screen reader users understand the information an image conveys. Consider both the image’s content and its context on the page, rather than giving every image the same website name or keywords.
- Informative images: Describe content relevant to the article. For example, in an explanation of how to measure cabinets, you could write “Measuring the width of a cabinet with a tape measure” if that is what the image shows, rather than simply “Interior design image.”
- Image-based buttons: Explain the action they perform. Welly’s article uses examples such as “Search,” “Register,” and “Apply now,” rather than merely describing a button’s appearance.
- Purely decorative images: If an image conveys no information and serves no interactive function, you can set an empty alt attribute: alt=””. Yoast explains that this lets screen readers skip the image; it does not mean removing the alt attribute from every image.
Use link text to explain the destination, and reserve title for supplementary information
Alt and title differ in where they can be used. As awoo explains, alt applies only to certain elements, while title is a global attribute. Alt should therefore not be treated as an attribute to add to every link. When an image is wrapped in a link, the alternative text should still be set on the image.
Ordinary text links should use descriptive wording, such as “View shipping options,” so readers know where clicking will take them. If there is useful additional information about the destination, consider using title. An answer on Webmasters Stack Exchange describes this as a way to help users understand a link, not as an essential ranking tactic.
An image’s title commonly appears as a tooltip when the mouse pointer hovers over the image. This differs from alt’s role in providing alternative content. For an informative image, do not provide title but leave out alt. Nor does every image need a title just to fill in a field.
Keep descriptions accurate, and include keywords only where they fit naturally
Good alt text should be concise, specific, and consistent with the surrounding paragraph. If a page introduces a red hiking backpack and the image shows that product, naturally including the product name and color is enough. There is no need to append search terms such as “recommended,” “cheap,” “deals,” or “must-buy.”
The Google guidance quoted by Yoast emphasizes that alt text should provide useful information, fit the page’s context, and avoid keyword stuffing. Keyword stuffing creates a poor user experience and may cause a site to be seen as spam. This does not mean every image’s alt text must include a target keyword, nor does adding alt text guarantee better rankings.
The forum answers offer no firm conclusion about how much link titles affect SEO. The claim they relay about title receiving little attention applies only to images; it should not be treated as a current rule for all links.
Using title and alt attributes: perspectives from across the web
Do embedded iframes need a title too?
An embedded frame’s title can provide an accessible name for the frame, letting screen reader users know what it contains. For example, when embedding a video or map, you can give the frame a clear name based on its actual content. This serves a different purpose from an image’s alt attribute: an iframe’s title describes the frame, while an image’s alt provides alternative content for the image.
What should you do when an image contains important text?
Where possible, present important names, content, and links as text on the webpage rather than only within images. If text must be presented as an image, use descriptive alt text so people who cannot see the image can still understand the relevant content. Choose the wording based on the information the image actually conveys and its context; there is no need to stuff it with unrelated search terms.
Should an image and the link wrapping it have the same title?
There is no need to give an image and its wrapping link identical titles just to repeat keywords. One forum answer argues that setting title on both is pointless and recommends removing one; this is advice for that particular case, not a universal rule. If you want to retain a supplementary tooltip, consider whether it genuinely helps explain the action or destination page.
References
- Does text in the title attribute of links count as page content?webmasters.stackexchange.com — Discusses: Should an image and the link wrapping it have the same title?
- HTML Image Alt 全攻略!簡單四原則,讓 Google 輕鬆看懂你的圖片!www.awoo.ai · 2022-12-01T10:58:58+00:00 — Source used in the article above.
- Img Alt是什麼?好的替代文字怎麼寫?SEO專家教你7秘訣!welly.tw · 2022-03-01T02:46:06.543Z — Source used in the article above.
- Image SEO: How to optimize alt and title textyoast.com · 2026-10-27T08:34:54+00:00 — Discusses: Do embedded iframes need a title too?
- Is the title attribute (not tag) important to SEO?webmasters.stackexchange.com — Source used in the article above.
- Image SEO: Tips for Image Optimizationneilpatel.com · 2024-11-26T20:00:00+00:00 — Discusses: What should you do when an image contains important text?
- Is this SEO Keyword Stuffing?webmasters.stackexchange.com — Discusses: Should an image and the link wrapping it have the same title?
- Linkpushing for SEO, real or fake?webmasters.stackexchange.com — Discusses: What should you do when an image contains important text?
- How can I decrease relevancy of Creative Commons footer text? (In Google Webmaster Tools)webmasters.stackexchange.com — Source used in the article above.
