Skip to main content Red Hat Design System logo Contribute on Github v2.0.0 Home
About About the design systemHow we buildRoadmap
Get started OverviewDesignersDevelopers
Foundations OverviewColorGridPersonalization patternsSpacingTypography
Tokens Overview Global colorBox shadowTypographyBorderOpacitySpaceLengthIconBreakpointsMedia queries
Elements All elements Accordion Alert Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Call to action Card Code block Dialog Footer Health index Icon Navigation (primary)Planned Navigation (secondary) Pagination PopoverPlanned Progress stepsPlanned Site status Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed
Patterns All patternsAnnouncementCardDisclosureFilterFormLinkLink with iconLogo wallSearch barSkip navigationSticky bannerSticky cardTabsTileVideo thumbnail
Accessibility FundamentalsContentDesignDevelopmentContributorsQa and testingAssistive technologiesResources
Design/code status Release notes Get support

Tooltip

Overview Style Guidelines Code Demos Accessibility
  1. Keyboard interactions
  2. Additional guidelines
  3. ARIA Authoring Practices Guide (APG)
  4. Web Content Accessibility Guidelines
  1. Keyboard interactions
  2. Additional guidelines
  3. ARIA Authoring Practices Guide (APG)
  4. Web Content Accessibility Guidelines

Keyboard interactions

A tooltip will appear when the trigger receives focus and disappear when moving focus away from the trigger.

Tooltip keyboard interactions; pressing tab to focus the trigger will show the tooltip, but pressing tab again will hide the tooltip
Key Result
Tab Moves focus to the trigger, tooltip appear
Tab Moves focus away from the trigger, tooltip disappears
Esc Removes a tooltip without moving focus away from the trigger

Additional guidelines

  • Do not use a tooltip on static elements
  • A tooltip should persist while hovering over the trigger and tooltip
  • A tooltip should persist as long as the trigger has focus
  • Users navigating via screen reader must have tooltip text announced to them when it is triggered
  • If a tooltip is added to a disabled trigger, that trigger must be able to receive focus

ARIA Authoring Practices Guide (APG)

Learn to use the accessibility semantics defined by the Accessible Rich Internet Application (ARIA) specification to create accessible web experiences.

View APG resources

Web Content Accessibility Guidelines

Understanding documents provide detailed explanations for Web Content Accessibility Guidelines (WCAG) guidelines and success criteria.

© 2021-2024 Red Hat, Inc. Deploys by Netlify