Design

When to Use Tooltips, and How They Should Look

Written by
Pravin Kumar
Published on
Jul 10, 2026

When should I use a tooltip, and when should I skip it?

Use a tooltip only for short, optional, extra help tied to a single control, like explaining an icon or a form field. Skip it for anything essential, long, or needed on mobile, because tooltips hide content behind hover and are easy to miss. If the information matters, put it on the page instead.

Tooltips feel harmless, so designers reach for them constantly. But a tooltip is a small trapdoor: it hides information until someone hovers, and plenty of people never do. That makes them great for minor hints and terrible for anything a user actually needs.

I use tooltips sparingly and on purpose. Here is how I decide when one earns its place, how it should look, and how to keep it accessible so it helps everyone rather than just some.

What is a tooltip, and what is it good for?

A tooltip is a small popup that appears when a user hovers or focuses on an element, showing a short piece of extra information. It is good for optional clarification: naming an icon, explaining a term, or adding a hint to a form field. Its whole job is small, helpful, and non-essential detail.

Think of a tooltip as a footnote, not a paragraph. It should hold a few words that add clarity for the curious, while the interface still makes sense without it. A magnifying glass icon that shows "Search" on hover is a perfect use. It confirms a guess without cluttering the screen.

The key word is optional. A tooltip works when the design is already usable and the tooltip just removes a small doubt. The moment a user must read the tooltip to proceed, you have picked the wrong tool. That is the line I keep coming back to.

When should I not use a tooltip?

Do not use a tooltip for essential instructions, long text, error messages, or anything a mobile user needs, since touch screens have no hover. If content is required to complete a task, it belongs visible on the page. Tooltips are for nice-to-know, never for need-to-know.

The most common mistake I see is hiding form guidance inside a tooltip. Rules like password requirements or formatting hints are essential, so tucking them behind a hover means many users never see them and hit errors. That guidance should sit visibly near the field. I made this case in my piece on using visible labels instead of placeholders.

Long content is another red flag. If your tooltip holds a full sentence or more, it has outgrown the format. At that point use a small always-visible help text, an expandable section, or a linked help page. And remember that anything critical on mobile cannot live in a hover tooltip at all, because the hover simply does not exist.

How should a tooltip look?

A tooltip should be small, high contrast, and visually separate from the page, usually a dark box with light text or the reverse. Keep the text to a few words, add enough padding to breathe, and use a small pointer or arrow to connect it to its trigger. Simple and readable beats styled and clever.

Contrast matters because a tooltip appears over other content. A solid background, clear text color, and a subtle shadow help it read as a distinct layer floating above the page. Without that separation, the tooltip blends into whatever is behind it and becomes hard to read.

Keep the styling calm. A small arrow pointing at the trigger element helps people connect the tip to the thing it explains. Rounded corners and comfortable padding make it feel like a tidy label rather than a cramped afterthought. The goal is a quick, easy read, then it disappears.

Where should the tooltip appear relative to its trigger?

Place the tooltip close to its trigger, usually just above or below it, and make sure it never runs off the edge of the screen. It should point clearly at the element it explains and stay fully visible. If space is tight near an edge, flip its position so it always fits on screen.

Proximity is what makes a tooltip feel connected. When it appears right next to the icon or field it describes, the link is obvious. When it drifts far away or covers the very thing it explains, people get confused about what the tip refers to.

Edge handling is the detail people forget. A tooltip near the right edge should open to the left so it does not get clipped, and one near the bottom should open upward. Modern approaches like the CSS anchor positioning API make this easier, which I covered in my note on anchor positioning for tooltips and menus.

Why is the HTML title attribute a bad tooltip?

The HTML title attribute looks like a free tooltip, but it is unreliable. It does not appear on touch screens, it is inconsistent for screen reader users, you cannot style it, and it only shows after a delay. For anything that matters, a custom, accessible tooltip is far better than the title attribute.

The title attribute is tempting because it takes one line of code. But its behavior is out of your hands. It is controlled by the browser, so you cannot change its look, its timing, or its position, and it simply does not surface on mobile at all.

Accessibility is the bigger problem. Support for the title attribute across assistive technology is patchy, so many users never get that information. WCAG guidance even treats browser-controlled title tooltips as a separate case from custom ones. If a hint is worth adding, it is worth building as a real, controllable tooltip rather than relying on this shaky default.

How do I make tooltips accessible?

Follow WCAG 2.1 Success Criterion 1.4.13, which says hover or focus content must be dismissible, hoverable, and persistent. Also make the tooltip reachable by keyboard focus, connect it to its trigger with aria-describedby, and give it a tooltip role. That way keyboard and screen reader users get the same help as mouse users.

The three rules from Success Criterion 1.4.13, a Level AA criterion, are specific and worth memorizing. Dismissible means a user can close the tooltip, often with the Escape key, without moving the mouse. Hoverable means they can move the pointer onto the tooltip itself without it vanishing. Persistent means it stays until they dismiss it or move away.

Beyond that, the tooltip must work without a mouse. It should appear on keyboard focus, not just hover, so people tabbing through the page can trigger it. Linking the trigger to the tooltip with aria-describedby and using the tooltip role lets screen readers announce the extra text. Good focus behavior underpins all of this, which is why I care so much about accessible focus states.

How do tooltips work on touch screens?

They mostly do not, because touch screens have no hover state. On a phone, there is no way to hover an element to reveal a tooltip, so hover-only tips are invisible to mobile users. If the information matters on mobile, show it on the page or trigger it with a clear tap on a visible help icon.

This is the single biggest reason I distrust tooltips for anything important. A huge share of traffic is mobile, and those users never see a hover tooltip. Designing help that only appears on hover quietly excludes them from that information entirely.

When people do need extra help on touch devices, use a tappable help icon that opens a small popover, and make the icon obviously interactive. Better still, ask whether the information should just be visible from the start. On mobile, visible almost always beats hidden, and that instinct will keep you out of trouble.

What is a good alternative when a tooltip is not enough?

When a tooltip is not enough, use visible help text, an expandable details section, an inline hint, or a linked help page. These keep important information available to everyone, on every device. Reach for them whenever the content is essential, longer than a few words, or needed on mobile.

Visible help text is the simplest fix. A short line of muted text under a field or control gives the same guidance without hiding it behind a hover. It costs a little space and buys a lot of clarity, especially on forms.

For longer content, an expandable section lets people open detail on demand while keeping the default view clean, and it works with taps and keyboards alike. For anything truly substantial, a linked help page is honest about the fact that the topic needs room. The point is to match the format to the weight of the content, and to never trap essential help inside a hover.

How should you decide?

Ask one question: is this information optional, short, and only a nice extra? If yes, a well-built, accessible tooltip is fine. If it is essential, long, or needed on mobile, put it on the page instead. When in doubt, show it, because visible information never gets missed the way a hidden tooltip does.

Tooltips are a small tool with a narrow job, and they cause trouble mainly when they are asked to do more than that. Used for tiny, optional hints and built to accessibility standards, they are a nice touch. Used to hide anything important, they quietly fail a chunk of your users. If you want help auditing where your interface hides content it should show, reach out through pravinkumar.co and let's take a look together.

Get found, cited and the back office automated

Let's make your site the source AI engines quote and wire up the systems behind it.

Contact

Let's get your website found and cited by AI

Tell me what you're working on, whether AI search is skipping your product, your back office is buried in manual work, or you need a build that does both.

Got it, thanks. I read every message personally and reply within 1-2 business days.
Oops! Something went wrong while submitting the form.