Guide

Icon buttons and links with no name: the most common problem we find on Shopify stores

Published 25 November 2026 · From the findings we checked by hand on small Shopify stores

A magnifying glass, a little cart, an X, an arrow on a slider. To a sighted shopper these icons are obvious. To someone using a screen reader, an icon with no text behind it is announced as just "button" or "link", with no hint of what it does. It's a small thing in the code and a real wall for the shopper: they can't find search, can't open the cart, can't tell which slide they're about to open.

If Google PageSpeed Insights or Lighthouse told you "Buttons do not have an accessible name" or "Links do not have a discernible name", this is that problem, and this guide is the fix.

The short version: every button and link needs a name a screen reader can read out, even if the visible part is only an icon or a picture. The fix is almost always one of three things: hidden text inside the button, an aria-label on it, or alt text on the picture inside a link. It's usually minutes of work per icon.

How often it came up

Between 24 and 25 November 2026 we scanned 68 small US Shopify stores and checked every finding by hand in the live page before counting it. 35 stores had at least one problem we could confirm. 23 of those 35 had a button or link with no name, more than any other kind of problem (images without a description came next). Here is where the 24 nameless controls were:

Where the nameless buttons and links were (24 confirmed findings on 23 stores)
WhereFoundTypical example
Search: the magnifying-glass button, a search icon link, the X that clears the box7Header search button whose icon is hidden from screen readers and has no text
Picture-only links: slideshow slides, collection tiles, offer banners, product photos, the logo7A home page slide that links to a product, with an image that has empty alt text
Product and collection controls: quantity minus, photo zoom, quick-add +, grid/list view4The − button next to the quantity box
Slider and carousel arrows2Previous/next arrows on a home page product slider
Header and announcement-bar icons: account, cart, phone2Account and cart icons at the top of every page
Menu and footer: submenu arrows in the phone menu, an empty "Powered by Shopify" link2Phone-menu arrows whose "See more" text is hidden from everyone

Two patterns stood out. First, search: the most important tool on a store for someone who can't scan a page by eye was the most common place for a nameless button. Second, several stores had written the name ("Search", "See more") but hid it with a style that hides it from screen readers too, so the effort was wasted.

Check your own store in two minutes

  1. Open your store in Chrome or Edge on a computer. Right-click the icon (say, the search button) and choose Inspect.
  2. In the panel that opens, find the Accessibility tab (next to Styles; it may be behind the » arrows).
  3. Look at Name under Computed properties. If it's empty or shows a web address, a screen reader has nothing useful to say.

On a Mac you can also hear it: press Cmd + F5 to turn on VoiceOver, press Tab through your header, and listen for "button" or "link" said on its own. Press Cmd + F5 again to turn it off.

How to fix each kind

Before you edit any code, duplicate your theme (Online Store → Themes → ⋯ → Duplicate) so you can undo. Then open ⋯ → Edit code and search the sections and snippets for the button (search for words like search, cart-icon, slider-button or quantity).

1. Icon buttons (search, close, arrows, quantity, zoom, quick-add)

Give the button a name in plain words. Either add an aria-label:

<button type="submit" aria-label="Search">
  <svg aria-hidden="true" …>…</svg>
</button>

or put text inside it that is hidden on screen but still read out. Most Shopify themes already have a class for this, usually visually-hidden:

<button type="button" class="quantity__button">
  <span class="visually-hidden">Decrease quantity</span>
  <svg aria-hidden="true" …>…</svg>
</button>

Use words that say what happens: "Search", "Clear search", "Next slide", "Decrease quantity", "Zoom photo", "Add Lavender Candle to cart". On slider arrows and quick-add buttons, name the thing too when you can, so ten "Add to cart" buttons aren't all identical.

2. Text that's there but hidden from everyone

If the button already contains "Search" or "See more" but a screen reader still says nothing, look at how that text is hidden. display: none, visibility: hidden, the hidden attribute or a class like hidden hide it from screen readers as well. Swap it for the theme's visually-hidden class, which hides it from the eye only.

3. Links that hold only a picture (slides, tiles, banners, logo, product photos)

A link's name comes from what's inside it. If the only thing inside is an image with no alt text (or empty alt text), the link has no name. Two ways to fix it:

If a product card has both a photo link and a title link to the same product, the cleanest fix is often to make the photo link skip the keyboard (tabindex="-1" and aria-hidden="true") so shoppers hear the product once, by name.

4. Header icons (account, cart, phone)

Add hidden text or an aria-label as in fix 1: "Account", "Cart", "Call us". For the cart, include the count if the theme shows one ("Cart, 2 items"). Many themes already print this from a translation, so check Edit default theme content for an empty "cart" or "account" label before you touch code.

5. Empty links

A link with nothing in it, like an empty "Powered by Shopify" link left in the footer, should either get its text back or be removed. Look for powered_by_link in the footer section.

Apps

If the nameless button comes from an app (a search app, a slider, a quick-view or reviews widget), you can't fix their code from your theme. Send the app's support the page and what you saw in the Accessibility tab; it's a common, quick fix on their side.

Why this matters

A shopper who can't name a button has to guess, or leave. The rule behind it is in the Web Content Accessibility Guidelines that US courts and settlements usually point to: every control needs a name software can read (WCAG 4.1.2 Name, Role, Value) and every link's purpose should be clear (WCAG 2.4.4 Link Purpose). It's also one of the cheapest problems on the list to fix. This guide is general information, not legal advice.

Check your own store

Our free scan loads your home page, a collection, a product page and the cart on desktop and phone, and emails you a private report that lists each button and link with no name and where it is on the page.

Scan my store for free

More from our scans: what we found on 48 small Shopify stores and why alt text can still show as missing.