Debut theme - adding alt tags to collection

Topic summary

A user working with Shopify’s Debut theme needed to add alt tags to product images in collection pages. The issue affected two areas:

  • Collection page grid items
  • Featured collections on the homepage

Initial attempts to update the theme weren’t reflecting the changes.

Resolution:

The user solved the problem by adding the following code to line 2 of product-card-grid.liquid:

alt="{{ product.featured_image.alt }}"

This implementation successfully added alt attributes to product images, improving accessibility and SEO for collection displays.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

Hi…wondered if anyone can help. (using the Debut theme)
Two things really (although associated)

  1. I’m trying to add alt tags to the collection-grid-item on the collections page and on featured collections on the homepage
  2. the changes I’ve tried don’t appear to be updating the live site.

I’ve figured it out…if anyone else needs this…I added
alt=“{{ product.featured_image.alt }}”

to line 2 of product-card-grid.liquid