Image guides

How to Write Alt Text for Shopify Product Images

Published

Write alt text that tells shoppers what each Shopify product photo adds. Use the main image’s alt text to identify the item and describe its relevant visible details, then describe what each alternate view reveals instead of repeating the product title. Finalize your crops before writing, add the descriptions to the corresponding media items in Shopify, and check the published gallery with a screen reader.

Describe what each photo helps a shopper learn

The W3C Web Accessibility Initiative recommends describing an informative photo according to what it contributes on the page. In a product gallery, ask what a shopper would miss if they skipped that frame. The main image might establish color and shape, while the side view shows how far a pocket sticks out or a close-up shows how a clasp opens. Add only details you can verify from the final image.

For example, a backpack gallery could use ‘Olive roll-top backpack with a front zip pocket,’ ‘Side view showing the mesh bottle pocket,’ and ‘Close-up of the roll-top buckle and adjustable strap.’ These are examples for different shots, not a template to repeat across the catalog. Leave out filenames, promotional adjectives, and details that the photo does not show.

Use a brief description of the image in a way that conveys that meaning in the alt attribute.
W3C Web Accessibility Initiative — An alt Decision Tree
Enter your alt text, and then click Save alt text.
Shopify Help Center — Adding alt text to media
Functional images are used to initiate actions rather than to convey information.
W3C Web Accessibility Initiative — Functional Images

Establishes that useful alt text depends on what the image contributes in context. The decision tree also distinguishes decorative images and complex graphics whose information should be available elsewhere on the page. [1]

Documents the desktop workflow for entering and saving alt text on individual product media items in Shopify admin. [2]

Explains why an image used as an otherwise unlabeled control needs a text alternative that communicates the action, rather than merely describing its appearance. [3]

Keep essential information outside the image

If a photo contains a size chart, care instructions, or compatibility information, put the actual information in the product description or another accessible section nearby. For a size chart, give shoppers the measurements as real text or a table rather than trying to fit every value into alt text. Then decide whether the image itself adds anything that still needs a short description.

A decorative divider does not need a spoken description. A thumbnail that opens a gallery image is different: its button needs a name that communicates what it opens, such as ‘Show buckle close-up.’ That name belongs to the storefront control and may be separate from the alt text on the full-size photo. Do not assume leaving a Shopify field blank will make the theme treat an image as decorative.

Write from the final crop and save in Shopify

Open the finished photo before writing. If you use ImageWA to crop a detail shot, check that the feature you want to describe is still in frame. If the crop cuts off the buckle and shows only the strap, revise either the crop or the description. Keep your draft descriptions next to the final filenames so you can match each line to the right image during upload.

On desktop, open Products in Shopify admin, select the product, then open the media item from the product details page. Select Add alt text, enter the description, and save it. Repeat for each informative photo. Cropping prepares the image file. Add the description for the listing in the Shopify media editor.

Check the storefront gallery after editing

Open the published product page and move through the gallery using the keyboard and a screen reader. Listen for whether you can tell the main image from the detail shots and whether each gallery control announces what it does. If the gallery offers color selection, switch colors and check that any descriptions shoppers hear still match the displayed photos. If a saved description is missing or the thumbnail buttons have no meaningful names, inspect how the theme renders the gallery before rewriting every caption. This is a targeted check, not a full accessibility audit.

Sources

  1. W3C Web Accessibility Initiative — An alt Decision Tree
  2. Shopify Help Center — Adding alt text to media
  3. W3C Web Accessibility Initiative — Functional Images