How to fix aria tooltip name on WooCommerce
Add a visible, descriptive text label to every element that has role="tooltip" so screen readers can announce its purpose.
Steps for WooCommerce
- Log in to WordPress Admin. If tooltips are added by your theme, go to Appearance → Theme File Editor and search for 'role="tooltip"' in your child theme's template files.
- If tooltips come from a plugin (e.g., YITH WooCommerce Wishlist, WooCommerce Product Add-Ons), navigate to that plugin's settings page and look for tooltip label or text fields.
- For theme-based tooltips, edit the relevant PHP template (e.g., woocommerce/content-product.php or a custom template part) and add aria-label="[descriptive text]" to the tooltip element.
- If you use a page builder (Elementor, Divi, Beaver Builder), open the widget/module that generates the tooltip and fill in the 'Tooltip text' or 'Accessible label' field — or use the Advanced → Custom Attributes panel to add aria-label.
- Install and run the axe DevTools browser extension to confirm the fix, then re-run your accessibility scanner.
<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 WooCommerce 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