Website Building » Shopify » What Is Image Alt Text in Shopify?

What Is Image Alt Text in Shopify?

Last updated on October 1, 2022 @ 7:57 pm

Image alt text is the text that appears in place of an image on a web page if the image is not able to be displayed for some reason. It is also used by search engines to help them understand what an image is about.

The alt text should be a brief description of the image. It should be relevant to the content of the page and describe what is happening in the image. For example, if an image shows a person smiling, the alt text might be “A person smiling.”

Alt text is important for two reasons. First, it helps people who can’t see images understand what they’re missing. Second, it helps search engines understand what an image is about so they can index it properly.

To add alt text to an image in Shopify, you first need to go to the “Online Store” page in your Shopify admin. Then, click on “Themes” and find the theme you want to edit.

PRO TIP: Image alt text is a feature in Shopify that allows you to add a text description to an image. This can be useful for people who are visually impaired, as the text description can help them understand the image. However, it is important to note that image alt text should not be used to stuff keywords, as this can result in penalties from search engines.

Click on “Edit code” and then find the “Assets” folder. Open the “Theme.liquid” file in this folder.

Scroll down to the file until you find the “” tag for the image you want to add alt text to. Add the following code to this tag: alt=”Your Alt Text Here”.

Replace “Your Alt Text Here” with a brief description of what is happening in the image. For example, if an image shows a person smiling, you might write “A person smiling.” Once you’ve added your alt text, click “Save” and then “Publish.”

Alt text is important for two reasons: it helps people who can’t see images understand what they’re missing, and it helps search engines understand what an image is about so they can index it properly. To add alt text to an image in Shopify, simply edit your theme code and add your alt text within the “” tag for the relevant image.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.