Synonyms: Quick info, info tip, mouse over

See also: Description, tooltip, modal dialog

The purpose of a tooltip is to display an additional piece of information dynamically, e.g. the label (with graphic control elements in particular), a description, a keyboard shortcut, or context-specific Help. (see DIN EN ISO 9241-161: 8.50). Tooltips are displayed during the focusing of the corresponding UI element. Tooltips do not contain any interactive elements.

Figure 18: Tooltip
No.PropertyDescriptionClassificationReference
@!326VisibilityThe tooltip should be displayed at the respective element.ShouldDIN EN ISO 9241-161: 8.50
@!327ContrastThe text in the tooltip must have a contrast ratio of at least 4.5:1 with respect to the background.

With large font (from 24 px and/or from 18.7 px in the case of bold font), a contrast ratio of at least 3:1 is sufficient.
MustEN 301 549: 9.1.4.3, 11.1.4.3
@!328ResizingAll content of the tooltip must be perceptible and operable with a font size adjustment of up to 400% (and a resulting display width of 320 px), in the sense that they wrap and can be vertically scrolled if necessary.MustEN 301 549:
9.1.4.10, 11.1.4.10
No.PropertyDescriptionClassificationReference
@!329Use of the keyboardIt must be possible to open and close the tooltip with the keyboard (see Use of the keyboard table, below).MustEN 301 549:
9.2.1.1, 11.2.1.1
@!330Use of the keyboardThe tooltip may not contain control elements as these cannot be keyboard-operable unless an alternative form of operation is documented in the Help option and the application (by keyboard shortcut, for instance).MustEN 301 549:
9.2.1.1, 11.2.1.1
@!331Use of the keyboardIf the tooltip is shown while navigating with the keyboard, it must be possible to close the tooltip again with the keyboard without moving the keyboard focus away (e.g. with ESC), unless

Note: This does not apply to tooltips that are shown by the platform software by default.

MustEN 301 549:
9.1.4.13, 11.1.4.13
@!332Use of the keyboardIf the tooltip is shown when navigating with the keyboard, the tooltip must be displayed until the keyboard focus is moved away from the triggering element and/or the tooltip, unless
  • the tooltip was deliberately closed (e.g. with ESC), or
  • the content of the tooltip is no longer valid (e.g. an error message in the input field after entering a correct value).

Note: This does not apply to tooltips that are shown by the platform software by default.

MustEN 301 549:
9.1.4.13, 11.1.4.13
@!333Use of the pointing deviceIf the tooltip is shown when hovering with a pointing device, it must be possible to hide the tooltip again without moving the pointing device away, unless:
  • the content consists of an error message, or
  • the content only hides white space or decorative non-text content.

Note 1: This does not apply to tooltips that are shown by the platform software by default.

Note 2: The automatically-shown content can be hidden with ESC or clicking on the triggering element, for instance, as long as no other actions are triggered.

MustEN 301 549:
11.1.4.13
@!334Use of the pointing deviceIf the tooltip is shown when hovering with a pointing device, the tooltip must be displayed until the pointing device is moved away from the triggering element and/or the tooltip, unless
  • the tooltip was deliberately closed (e.g. with ESC), or
  • the content of the tooltip is no longer valid (e.g. an error message in the input field after entering a correct value).

Note: This does not apply to tooltips that are shown by the platform software by default.

MustEN 301 549:
9.1.4.13, 11.1.4.13
@!335Use of the pointing deviceIf a tooltip is shown when hovering with a pointing device, it must then be possible to move over the tooltip with the pointing device, i.e. the tooltip may not be hidden as soon as the pointing device is no longer positioned over the triggering element.

Note: This does not apply to tooltips that are shown by the platform software by default.

MustEN 301 549:
11.1.4.13

Use of the keyboard: tooltip

Permalink "Use of the keyboard: tooltip"
ActionKeyClassification
Opening the tooltipNavigating to the elementRequired
Closing the tooltipESCRequired

Use of the pointing device: tooltip

Permalink "Use of the pointing device: tooltip"
ActionKeyClassification
Opening the tooltipHoveringRequired
No.PropertyDescriptionClassificationReference
@!336NameIf the tooltip contains a description, this must be communicated to the Accessibility API as the Accessible Description (see Description).MustEN 301 549:
9.1.3.1, 11.1.3.1, 11.5.2.5
@!337NameIf the tooltip contains a label of a graphical element, this should correspond to the Accessible Name or be contained in it.ShouldEN 301 549:
9.2.5.3, 11.2.5.3
@!338NameThe tooltip should not contain any structured or long text content.

Note: For structured or long text content, a display format should be chosen in which it is possible for the text to be read with the virtual cursor of the screen reader.

ShouldEN 301 549:
9.1.3.1, 11.1.3.1
@!339Keyboard shortcutIf the tooltip contains a keyboard shortcut for the respective control element, this must be communicated to the Accessibility API.MustEN 301 549:
9.1.3.1, 11.1.3.1

Information about this article

You are welcome to send feedback by email about our handout!