Skip to content

Tooltip content should be hoverable #643

@kirsty-hames

Description

@kirsty-hames

Subject of the issue

When tooltips are enabled, hovering over a navigation bar button triggers the tooltip to display. I should be able to move my mouse pointer over the tooltip but instead it is removed when the pointer leaves the button.

WCAG requires content on focus or hover to be hoverable, dismissible, and persistent.

Hoverable: If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing. See WCAG demo.

Ref: WCAG 1.4.13 Content on Hover or Focus Level AA

Steps to reproduce

Enable tooltips in your course. Hover over a navigation button. When the button tooltip is displayed, move your mouse pointer over the tooltip.

Expected behaviour

The tooltip should remain displayed whilst the mouse pointer is hovering over the button or tooltip content.

Actual behaviour

The tooltip is removed when the tooltip is hovered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions