Skip to main content
  1. Docs
  2. Components
  3. Overlays

Tooltip

A short label for a control, most often an icon-only button. Never essential, never interactive.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<div role="tooltip">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Keyboard

KeysWhat happens
TabTabFocus on its trigger opens it at once.
EscapeCloses it.

02

Behaviour

Role
role="tooltip", describing its trigger through aria-describedby while it's open.
No repeats
When its text only repeats the trigger's name, it isn't linked, so the name isn't read twice.
Touch
It doesn't appear on touch: never put anything only there.

03

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Focus: where it lands as it opens, and where it returns as it closes
  • Forced colours, reduced motion and right to left
Next — TooltipChangelog