Draft. Based on the tooltip guidance of Atlassian, Primer, Fluent 2 and Carbon, read on 9 November 2026, and survey 54. Not yet approved. It is in the registry and in
@beehexa/vue-componentsso teams can try it; the API may still change before approval.
A tooltip is a short piece of text that appears next to a control while the pointer rests on it or keyboard focus is on it. It holds text only.
When to use
- To name an icon-only button. The tooltip is the button’s name, and sighted users see it too.
- To add a short fact about a control, such as what a button does when the label alone is not enough.
- To say why a control can’t be used yet, such as “Connect an online store first.” on a button that stays focusable (Button, D16).
- To show text cut to one line, such as a long store name in a table, when the full text has no other place.
When not to use
- For anything people need to finish a task: errors, required formats, warnings. Put it on the page as helper text or a message. A tooltip is hidden until someone finds it, and never shows on touch screens.
- For links, buttons or images. A tooltip can’t be focused, so its content can’t be used. Use a popover or a dialog.
- To repeat a label that is already on screen. If you have nothing to add, add no tooltip.
- On text, icons or badges that do nothing when clicked. Only keyboard and screen reader users who reach an element can open its tooltip. Put the information next to the element instead.
- For more than a sentence or two. Use help text on the page, or a popover.
Two jobs
| Job | Trigger | Set | Screen readers read |
|---|---|---|---|
| Name | An icon-only button | relationship="label" |
The tooltip text, as the button’s name |
| Description (default) | A control that already has a name | Nothing | The name, then the tooltip text |
Write the name once, in the tooltip. Don’t also give the button an aria-label, or the name is read twice (D20).
Content
- Short. A name is one to three words: “Sync now”. A description is one sentence.
- Sentence case. A name has no full stop. A description that is a full sentence ends with one.
- Say the action and its object when the icon alone is unclear: “Delete mapping”, not “Delete”.
- For an unavailable control, say what makes it available: “Connect an online store first.”
- Never cut a tooltip short. It wraps at 240 px; keep it short enough not to need more.
Behaviour
- Shows after the pointer rests for 300 ms (
motion.wait.tooltip.show), and at once on keyboard focus. Moving straight to a second trigger shows its tooltip at once. - Stays while the pointer moves from the trigger onto the tooltip, so people can read it at any zoom.
- Hides when the pointer leaves, when focus moves away, or on Esc.
- Does not show on touch.
Placement
Above the trigger by default, centred, 8 px away so it clears the focus ring. It moves below or to a side when there is no room above. Place it below on purpose only when it would cover something people are reading.
Related
- Icon button: every icon button has a tooltip as its name.
- Button: reasons on an unavailable button.
- Motion: tooltip waits.