Logo

What are you looking for?

Get help straight from our team...

Name ARIA tooltip elements informatively

Accessibility Tips

Name ARIA tooltip elements informatively

Assign clear accessible names to ARIA tooltip elements to ensure screen readers can accurately convey their content and purpose.

Last updated on 11 Nov, 2025

***This document provides helpful tips to improve your site's accessibility. While it doesn’t guarantee 100% compliance, it’s a great starting point to make your website more inclusive and user-friendly.***

Identification

ARIA tooltip elements must have an accessible name (Rule ID: aria-tooltip-name)

 

Applicable Standards

  • WCAG 2.0, 2.1, 2.2 Level A (4.1.2)

  • EN 301 549 (9.4.1.2)

 

Impact

Serious level impact affecting:

  • Blind users

  • Low vision users

  • Users with mobility impairments

 

Proper Implementation

Tooltips must have an accessible name using one of:

  • Inner text content

  • aria-label attribute

  • aria-labelledby reference

  • title attribute

  • Text must be discernible to screen readers

 

Examples of Correct Usage

  1. Using Inner Text for Accessible Names:
    The tooltip content is provided as inner text, ensuring it is accessible to screen readers via the aria-describedby attribute.

Image
  1. Using aria-label for a Custom Name:
    The aria-label provides a clear name for the button, while the tooltip adds context for screen readers.

Image
  1. Using aria-labelledby to Reference a Label:
    The aria-labelledby attribute references both the button label and the tooltip, ensuring screen readers announce them together.

Image
  1. Using the title Attribute for Tooltips:
    The title attribute is used as a simple tooltip for accessible names, which is announced by screen readers.

Image
  1. Combining Tooltip Visibility with Accessibility:
    A hidden tooltip becomes visible when the button is focused, but the accessible name remains available to screen readers.

Image

Common Errors to Avoid

  1. Missing Accessible Name:
    The tooltip element lacks inner text or an accessible name, making it empty and useless for screen readers.

Image
  1. Using Non-Descriptive Text:
    The tooltip text ("Click here") is too vague and does not provide meaningful information about the button's purpose.

Image
  1. Tooltip Without a Trigger Element:
    The tooltip exists without being associated with a trigger element (e.g., a button) via aria-describedby, making it inaccessible.

Image
  1. Using role="tooltip" Without Visible Content:
    The tooltip is hidden with display: none, making it unavailable to screen readers. Use visibility: hidden instead to hide visually but keep it accessible.

Image
  1. Overuse of ARIA Roles:
    Using multiple ARIA roles (e.g., role="tooltip" and role="dialog") on the same element creates confusion for assistive technologies.

Image

 

Rationale

  • Essential for screen reader users to understand tooltip content

  • Ensures tooltips convey their intended information

  • Required for effective user interaction

  • Maintains proper accessibility information flow

 

Evaluation Method

  1. Inspect the Code

    • Verify that:

      • Each role="tooltip" element is associated with a trigger element (e.g., via aria-describedby).

      • The tooltip has an accessible name provided by inner text, aria-label, aria-labelledby, or title.

      • Tooltip text is meaningful and descriptive.

  2. Test with Assistive Technology

    • Use a screen reader (e.g., NVDA, JAWS, or VoiceOver) to confirm:

      • Tooltips are announced when the associated element gains focus.

      • The tooltip content is clear and provides useful context.

Evaluation Checklist

Image
Did you find this article helpful?
Previous

Label ARIA treeitem elements descriptively

Next