squirrelscan
GitHub

ARIA Tooltip Name

Checks that tooltip elements have accessible names

Checks that tooltip elements have accessible names

Rule ID a11y/aria-tooltip-name
Category Accessibility
Scope Per-page
Severity error
Weight 7/10

Solution

Tooltip elements with role=‘tooltip’ must have accessible content. The tooltip content serves as its accessible name. Ensure tooltips have text content or use aria-label for icon-based tooltips.

Enable / Disable

Disable this rule

[rules]
disable = ["a11y/aria-tooltip-name"]

Disable all Accessibility rules

[rules]
disable = ["a11y/*"]

Enable only this rule

[rules]
enable = ["a11y/aria-tooltip-name"]
disable = ["*"]

Type to search…

↑↓ navigate↵ openesc close