Skip to content

Info Hint

Last updated 27 Oct 2026

NbInfoHint is a small, discreet affordance you drop next to anything whose meaning is not self-evident: a KPI number, a status word, a column header, an abbreviation. It renders a compact icon in a subtle token colour and reveals a short description on hover, focus, or click.

Accessibility ​

  • The trigger is a real <button>, so it is reachable by Tab and activated by Enter or Space.
  • aria-expanded reflects the open state; aria-describedby points at the popover only while it is visible, so the description is announced as the button's description rather than duplicated in its name.
  • Give label a specific value when the hint sits next to an ambiguous value: the default name, "More information", tells a screen-reader user nothing about what is being explained.
  • Escape closes the popover and leaves focus on the trigger.
  • The open animation is suppressed under prefers-reduced-motion: reduce.