Describe the purpose in this page
Alt text supplies a text alternative when an image carries information. A product photo might use 'Blue linen shirt, back view, with pleated yoke'. A cropped comparison might use 'Centered square crop cuts the right edge of the yellow subject'. Describe what the reader needs from the image rather than repeating a search query.
A decorative flourish beside an existing heading uses empty alt text. A meaningful user-supplied photo does not become decorative just because nobody supplied a description; give the author a way to describe it or provide equivalent nearby information.
Choose the alternative for the image's role
- Informative photograph: explain the relevant subject or detail in concise words.
- Image-only link or button: describe its action or destination.
- Chart: summarize the conclusion and provide the data or a fuller explanation in visible text.
- Screenshot containing necessary text: include that information in page text as well.
- Decoration: use an empty alt attribute so assistive technology can skip it.
A concrete product-page example
For three product views, use 'Blue linen shirt, front view', 'Blue linen shirt, back view' and 'Close-up of the shirt's wooden buttons'. A nearby caption can explain fabric or fit. Three copies of 'best cheap shirt buy online' tell neither the visitor nor search engine how the views differ.
Review templates against actual images. A catalog template built from product name, color and view is useful only when those fields are accurate. Generated descriptions also need review; they can invent details.
Discovery requires context and crawlable images
Google's image guidance discusses descriptive filenames, relevant surrounding text, alt text and accessible image URLs. Give an image a short useful filename, place it near the relevant explanation, and use an img element with a crawlable src. A CSS background is not a substitute for an informative content image.
Width and height reserve layout space. Responsive candidates avoid downloading unnecessary pixels. Structured data supports specific eligible search features when it accurately describes the page; it does not promise an image ranking. Image licensing metadata is a separate legitimate use of supported metadata.
Verify privacy separately
Camera files can contain GPS and other metadata. Canvas re-encoding creates a new raster file and generally discards original camera metadata, but a filename, visible scene or recognizable person can still reveal information. The converter is not a complete privacy audit. Inspect what the image itself discloses before publishing it.
Frequently asked questions
Is there a fixed alt-text character limit?
No universal character count makes an alternative useful. Keep it concise for its purpose and place longer explanations in visible page text.
Should all images have descriptive alt text?
Informative images need an appropriate alternative. Decorative images should use empty alt text.
Does schema guarantee image traffic?
No. Accurate supported markup can establish eligibility for particular features; indexing and appearance remain search-engine decisions.
Tools for this guide
Sources and verification
File-size and geometry examples are explained separately from measured exports. Platform rules apply only to the linked service and can change. Report a correction through the publisher's contact page.