How to fix aria tooltip name on Squarespace

Add a visible, descriptive text label to every element that has role="tooltip" so screen readers can announce its purpose.

Steps for Squarespace

  1. In Squarespace, tooltips are most commonly added via Code Blocks, custom HTML in the Page Header injection, or third-party embed scripts.
  2. Navigate to the page containing the tooltip. Click Edit on the page, then click the Code Block or Custom HTML block that contains the tooltip markup.
  3. In the HTML source, find the element with role="tooltip" and add a descriptive aria-label attribute or ensure it contains visible text, e.g.: <div role="tooltip" aria-label="Free returns">Free returns</div>.
  4. For site-wide tooltip scripts injected via Settings → Advanced → Code Injection (Header or Footer), edit the script there to add aria-label to all tooltip elements.
  5. Save changes, then use the axe browser extension in your browser's developer tools to verify the accessible name is present.
Official Squarespace documentation ↗
<div role="tooltip" id="wishlist-tip" aria-label="Add to wishlist">
  Add to wishlist
</div>

<!-- OR using aria-labelledby -->
<div role="tooltip" id="shipping-tip" aria-labelledby="shipping-tip-text">
  <span id="shipping-tip-text">Free shipping on orders over $50</span>
</div>

What is aria tooltip name?

A tooltip is a small pop-up element that appears when a user hovers over or focuses on something — think of the little "Add to wishlist" bubble that appears when you hover over a heart icon. In HTML, these are built using `role="tooltip"`. The problem flagged here (WCAG 4.1.2) is that your tooltip element has no accessible name — in other words, the tooltip contains no text (or the text is hidden from assistive technology), so a screen reader has nothing to read aloud. An accessible name is simply the label a screen reader announces when it reaches that element.

Screen-reader users — who may be blind, have low vision, or rely on keyboard-only navigation — depend entirely on accessible names to understand what a tooltip communicates. Without one, the tooltip is completely silent: the user either hears nothing or hears a meaningless "tooltip" announcement with no content. This is a direct failure of WCAG 2.1 Success Criterion 4.1.2 (Name, Role, Value), which is a Level AA requirement that governs legal accessibility compliance in the US (ADA), EU (EAA), UK (PSBAR), and many other jurisdictions. Inaccessible tooltips create real legal exposure for your business and exclude a significant portion of potential customers. Fixing them improves trust, usability, and demonstrates commitment to inclusive commerce.

See the complete Aria tooltip name guide for every platform and the full background.

Not sure if your Squarespace store has this?

Run a free SEOLZ audit — we’ll find aria tooltip name and every other issue across your whole site.

Scan my site free

Fix aria tooltip name on another platform