Skip to content

Popover Component (split usecase from Tooltip component) #1520

@mlmoravek

Description

@mlmoravek

Description

The OTooltip component can currently be used as either a tooltip or a popover.
However, a popover is slightly different to a tooltip in terms of its use case.

A tooltip should only open on hover and provide additional accessibility support for devices without a mouse. Tooltips should only contain additional informative text and no interactive elements.

In contrast, a popover can be opened by clicking or through other active interactions. Unlike a tooltip, a popover can contain interactive elements and should not be closable by moving the mouse out of the popover by default. It must have different accessibility support to a tooltip and is normally closed by an active interaction event.

Why Oruga need this feature

Improve accessibility support and implement components with distinct use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yAccessibilityfeatureA new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions