How to Write Alt Text for Product Images (And Why It Matters)
Accessibility & SEO | 8 min read
What Is Alt Text?
Alt text (short for alternative text) is a written description attached to an image in your HTML. It does not appear on the page visually for most visitors, but it surfaces in three important situations:
- When the image fails to load. The alt text appears in place of the broken image so the visitor still understands what was supposed to be there.
- When a screen reader encounters the image. Visually impaired users rely on screen readers to describe page content. Alt text is what they hear for every image.
- When search engines crawl your page. Google cannot "see" images the way humans do. It reads the alt text to understand what the image shows and how it relates to the page.
Why Shopify Alt Text Matters for SEO
Product images are a significant source of ecommerce traffic through Google Image Search. When someone searches for "blue velvet sofa" and clicks the Images tab, Google uses alt text as one of its primary signals for deciding which images to show.
Beyond image search, alt text also contributes to the overall SEO strength of your product page. It gives Google additional context about what the page is about, reinforcing the keywords in your title, description, and headings.
Why Alt Text Matters for Accessibility
Accessibility is not optional. The Americans with Disabilities Act (ADA) and similar laws in other countries require websites to be accessible to people with disabilities. Missing alt text is one of the most common accessibility violations on ecommerce sites.
Screen readers announce images by reading the alt text aloud. Without it, visually impaired shoppers hear "image" or the file name (something like "IMG_4392.jpg"), which tells them nothing about the product they are considering.
How to Write Good Product Image Alt Text
- Be descriptive and specific. Describe what is actually in the image. "Women's red running shoe, side profile view" is far more useful than "shoe."
- Include a relevant keyword naturally. If the image shows your product, the product name and a key attribute make natural alt text. Do not force keywords where they do not fit.
- Describe the view or context. Is it a close-up of the texture? A lifestyle shot of someone wearing the product? A flat lay of the full kit? Include that context.
- Keep it concise. Aim for one sentence, roughly 10 to 15 words. Screen readers announce the entire alt text, so longer is not better.
- Skip "image of" or "photo of." Screen readers already announce that the element is an image. Starting with "image of" is redundant.
Bad vs. Good Alt Text: Examples
| Bad Alt Text | Good Alt Text |
|---|---|
| shoe | Women's white leather sneaker with gum sole, front angle view |
| IMG_2847.jpg | Close-up of hand-stitched leather wallet showing interior card slots |
| image of product | Ceramic pour-over coffee dripper in matte black on a wooden countertop |
| best organic face cream moisturizer buy now | Organic rosehip face cream in a 2 oz glass jar with bamboo lid |
| photo of a candle | Soy wax candle in amber glass jar, lit with soft flame, lavender label |
Doing Alt Text at Scale
Writing alt text for five products is straightforward. Writing it for 500 products with three to five images each is a different challenge entirely. Here is how to approach it:
- Prioritize your highest-traffic products first. Start with the pages that get the most views and work outward from there.
- Use a consistent naming pattern. Decide on a structure (product name + color + view) and apply it across your catalog. Consistency makes the process faster and the output more predictable.
- Use AI tools to generate drafts. Tools like HawkCopy can analyze your product images and generate descriptive alt text automatically. You review and adjust rather than writing each one from a blank field.
The worst alt text strategy is no strategy. Even basic, consistent alt text across your catalog is better than leaving hundreds of images unlabeled.
Generate alt text automatically
HawkCopy writes descriptive, SEO-friendly alt text for every product image on your Shopify store. Try it free.
Try HawkCopy Free