Blog › Accessibility › What Are ARIA Labels, and When Does an Online Store Need Them?
Noibu blog

What Are ARIA Labels, and When Does an Online Store Need Them?

What are ARIA labels, and when does an online store need them?

An ARIA label is an HTML attribute that gives an element a name for screen readers and other assistive technology. An online store needs ARIA labels on controls that have no visible text, such as icon-only cart, search, wishlist and close buttons. Where a native HTML label or visible text can do the job, use that instead.

Last updated December 4, 2026

Online stores are full of icons. A magnifying glass opens search, a bag opens the cart, a heart saves an item, and an X closes a popup. Sighted shoppers read those icons at a glance. A shopper using a screen reader hears whatever name the code gives each control, and when the code gives none, the screen reader may announce only “button”. ARIA labels are one of the main ways to close that gap, and also one of the easiest accessibility tools to misuse. This guide explains what ARIA labels are, where an online store needs them, where it should not use them, and how to check them.

Key takeaways

  • The aria-label attribute gives an element an accessible name that screen readers announce.
  • Stores need it most on icon-only buttons and links: cart, search, wishlist, close, quantity and carousel arrows.
  • Native HTML comes first: a visible label or button text beats an ARIA label when it can be used.
  • WebAIM's 2026 scan of one million home pages found pages using ARIA averaged more detected errors than pages without it.
  • Noibu's ADA agent audits a store's highest-traffic pages against WCAG and stages changes for review.

Part of: Noibu's ADA agent

What is an ARIA label?

ARIA stands for Accessible Rich Internet Applications, a W3C specification that adds roles, states and properties to HTML so assistive technology can understand interface elements. The aria-label attribute is one of those properties. It sets the accessible name of an element, which is the text a screen reader announces when a shopper reaches it.

A cart button made only of a bag icon has no text inside it. Adding aria-label="Cart, 2 items" to that button means a screen reader announces it as “Cart, 2 items, button” instead of just “button”. The label is invisible on screen; it exists only for assistive technology.

Two related attributes do similar jobs. aria-labelledby points to the ID of other visible text on the page and uses it as the name, which keeps the label in sync with what sighted shoppers see. aria-describedby adds extra description, such as a hint under a form field, rather than the name itself.

When does an online store need ARIA labels?

An online store needs an ARIA label wherever an interactive element has no visible text that could serve as its name. On most stores, that list is predictable.

Where ARIA labels belong on an online store

Common store controls and the better way to name each one.
ElementTypical problemBetter approach
Icon-only cart, search, account and wishlist buttonsAnnounced as button with no namearia-label naming the action, such as Open cart or Save to wishlist
Close buttons on popups and drawersAnnounced as X or timesaria-label of Close, with the icon hidden from screen readers
Quantity plus and minus buttonsTwo unnamed buttons beside a numberaria-label such as Increase quantity and Decrease quantity
Carousel previous and next arrowsArrows with no textaria-label of Previous slide and Next slide
Color swatchesA colored square with no nameThe color name as visible text or as the accessible name
Search, email and checkout form fieldsHint text inside the field used instead of a labelA real label element first; aria-label only when no visible label fits the design

Icon-only buttons. Header icons are the most common gap. The WebAIM Million 2026 report, which scanned the home pages of the top one million websites in February 2026, found empty buttons on 30.6% of home pages and empty links on 46.3%. An empty button or link is one with no accessible name, which is exactly what an ARIA label on an icon control prevents.

Popups, drawers and carousels. Promo popups, cart drawers and image carousels add controls that often carry only a symbol. Each close button and arrow needs a name that says what it does.

Product options. Color swatches and size buttons often rely on color or a single letter. A shopper using a screen reader needs to hear the color name or full size, either from visible text or from the accessible name. How screen reader users experience your checkout follows the same idea through the last steps of a purchase.

Form fields. The same WebAIM report found missing form input labels on 51% of home pages. On a store, that usually means the search box, newsletter signup or checkout fields rely on hint text inside the field, which disappears as the shopper types. A visible label element is the better answer here; how to make ecommerce checkout forms accessible covers the details.

When should a store not use ARIA labels?

The W3C's Notes on ARIA Use in HTML sets out the first rule of ARIA: if a native HTML element or attribute with the semantics and behavior you need already exists, use it instead of adding an ARIA role, state or property. The second rule is not to change native semantics unless you really have to.

For a store, that means three things. A button that already has visible text, such as Add to cart, does not need an ARIA label, and adding one that says something different confuses screen reader users who hear a different name from the one on screen. A form field should get a real label element before an ARIA label. And a div styled to look like a button should become a real button element rather than a div with an ARIA role bolted on.

Overusing ARIA has a measurable cost. The WebAIM Million 2026 report found ARIA on 82.7% of home pages, and home pages with ARIA present averaged 59.1 detected errors compared with 42 on pages without it. ARIA does not cause errors by itself, but its presence often signals complex custom components, and badly applied ARIA can hide or rename content in ways automated checks catch.

How do you add and check ARIA labels on a store?

A short routine covers most stores, whatever the platform or theme.

Four steps to check ARIA labels on a store

  1. STEP 1

    List icon controls

    Note every button and link that shows an icon but no text.

  2. STEP 2

    Prefer native HTML

    Use visible text, label elements and real buttons where possible.

  3. STEP 3

    Name the rest

    Add an aria-label that says what the control does, in plain words.

  4. STEP 4

    Test with a screen reader

    Tab through key pages and listen to what each control announces.

List icon controls. Walk the templates that carry most traffic: header, category page, product page, cart drawer and checkout. Note every interactive element that shows an icon, symbol or image without text.

Prefer native HTML. For each item, check whether visible text or a native element can do the job. A visible label is easier to maintain and helps every shopper, not only screen reader users.

Name the rest. Where an icon has to stay on its own, add an aria-label that describes the action, such as Open cart, Remove item or Next slide. Keep it short, keep it in the store's language, and update it when the control changes, for example when the cart count changes. Hide decorative icons inside a labeled button from screen readers so the name is not read twice.

Test with a screen reader. Automated checkers find many missing names, but they cannot tell whether a name makes sense. Tabbing through the main purchase path with a screen reader such as VoiceOver or NVDA shows what a shopper actually hears. How to test keyboard navigation on an online store pairs well with this check, and the WCAG 2.1 AA checklist for online stores shows where accessible names fit among the other criteria.

Do accessibility overlays add ARIA labels for you?

Some accessibility overlay tools try to add missing labels with a script after the page loads. Those labels can be wrong, they depend on the script loading every time, and they do not change the store's own code. Whether accessibility overlays work on an online store covers the trade-offs. Labels written into the theme or components are more reliable because they are part of the page every shopper receives.

How does Noibu's ADA agent help with ARIA labels?

Noibu's ADA agent works on this exact problem. Its input is the store's highest-traffic pages, which it audits against WCAG standards, including controls that have no accessible name. Its output is a report of what falls short, ranked by the pages shoppers actually visit, and changes staged for the team's review, such as names for unlabeled icon buttons. Nothing goes live until a person approves it, and after a change ships, the agent audits the page again to confirm the issue is resolved.

The ADA agent is one of six Noibu agents, alongside Bug Resolution, Performance, CRO, A/B Testing and ROAS, and all six work in the Noibu console and in Claude, ChatGPT and other AI tools through Noibu MCP. The free website audit shows what the ADA agent finds on your own store.

Noibu is AI for ecommerce operations, the always-on optimization system that keeps online stores running at their best. A team of supervised AI agents finds what's broken, slow, or leaking revenue, does the work, and hands results back for human approval. Trusted by retailers like Free People, Guess, Liquid I.V., and Ariat.

Frequently asked questions

What does aria-label do?

The aria-label attribute sets the accessible name of an element, which is the text a screen reader announces for it. It is invisible on screen and is used mainly for controls that have no visible text, such as icon-only buttons.

Do I need an ARIA label on a button that already has text?

No. A button with visible text such as Add to cart already has an accessible name. Adding an ARIA label with different words means screen reader users hear a different name from the one sighted shoppers see.

What is the difference between aria-label and aria-labelledby?

The aria-label attribute holds the name as its own text. The aria-labelledby attribute points to other visible text on the page by its ID and uses that text as the name, which keeps the two in sync.

Can ARIA labels replace form labels at checkout?

Only as a last resort. A visible label element helps every shopper, stays on screen while they type and is read reliably by assistive technology. Use an ARIA label on a form field only when no visible label fits.

How do I find missing ARIA labels on my store?

Run an automated accessibility checker on the main templates to find controls with no accessible name, then tab through the purchase path with a screen reader to hear what each control announces. Noibu's ADA agent audits high-traffic pages against WCAG and stages changes for review.

Back to all blogs
‍
‍
See what Noibu’s AI agents would change on your store first.
Free website audit
Share

Keep your store running at its best, with AI agents that never clock out.