"Click Add to cart": 37% of big shops name buttons differently in code

by•

"Click Add to cart." That is how people who shop by voice press a button: Voice Control on the iPhone and the Mac, Voice Access on Windows and Android, Dragon. They say what they see. If the button that reads "Add to cart" is called "Submit" in the code, the command does nothing. No error, no cart.

In October we checked the home pages of 289 large online shops in Czechia, Germany, Poland, Romania and Ukraine. 108 of them (37%) have at least one button or link whose hidden name does not contain the words on screen (axe rule label-content-name-mismatch, WCAG 2.2 criterion 2.5.3 Label in Name).

By country:

  • Germany 49%

  • Poland 45%

  • Czechia 34%

  • Romania 34%

  • Ukraine 20%

This is the first rule in our study where Germany is the worst country. Our guess, which the data cannot prove: international themes and apps with aria-labels written once in English, on pages translated into German.

Three common versions:

  • a leftover generic name: visible "Add to cart", aria-label "Submit"

  • extra context that drops the visible words: visible "Add to cart", aria-label "Add Wool coat to your shopping cart"

  • a translation gap: visible "In den Warenkorb", aria-label still "Add to basket"

Honest note: axe marks this check as experimental, and we rate it moderate, not critical. Voice users usually have a slower workaround, like "show numbers" and then a number. But a slower checkout is where people give up.

Check yours in a minute. In Chrome, right-click your Add to cart button, Inspect, and open the Accessibility tab next to Styles. Compare "Name" with the words on the button. On an iPhone, turn on Voice Control and say "Show names".

The fix is often one deleted attribute: remove aria-label="Submit" from the button that reads "Add to cart", and the visible words become its name again. Need extra context? Put it after the visible words: aria-label="Add to cart: Wool coat". And check the aria-labels on every translated version of the page.

Check your own home page, no sign-up:

Rule card:

Study:

Open dataset (DOI):

Automated check of one page per shop, not a full audit. Not legal advice.

1 view

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.