Skip to main content
AccessibilityBrief

Image buttons missing alternative text on Shopify

What this is

3 image buttons have no text, so screen reader users cannot tell what pressing it does.

Who it affects

  • Screen reader users
  • People with motor disabilities

Standards

How to fix it

  1. Add an `alt` to the `<input type="image">` that describes the action (for example "Search"), not the picture.

Example

Before

<input type="image" src="/go.png">

After

<input type="image" src="/go.png" alt="TODO: describe the action, e.g. Search">

The alt text should describe what the button does.

On Shopify

Products: Admin → Products → open the product → click the image → "Add alt text". Theme images: Online Store → Customize → select the image section → fill the alt text field. Liquid: `{{ image | image_url | image_tag: alt: image.alt }}`.

Other platforms

Prompt for an AI coding tool

Scan your site with AccessibilityBrief and you get a ready-to-use prompt for this problem, with the exact elements on your pages filled in.

Check your own website

Paste a web address. The free scan checks one page and shows what it finds.

Example: example.com/pricing. We scan this one page only.

More fixes

Automated testing detects only a portion of WCAG issues. Manual testing is required to assess full conformance.