Skip to content

Popovers and tooltips should remain open when content is hovered #42065

@Bubballoo3

Description

@Bubballoo3

Prerequisites

Describe the issue

Per https://www.w3.org/TR/WCAG21/#content-on-hover-or-focus,

If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing;

I use popovers on certain links with trigger: 'hover focus', which makes them covered under that guideline. Unfortunately there is no support for persisting a popover when the popover content receives hover. I have taken a crack at using manual triggers to achieve this, but given that it is explicitly called for in WCAG guidelines, it seems like this should at least be configurable if not default behavior.

The same non-compliant behavior applies to tooltips as well that are triggered by hover.

Reduced test cases

No test case as this is easily demonstrable on all hover triggered popovers and tooltips (such as https://getbootstrap.com/docs/5.3/components/tooltips/#directions)

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

5.3.8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions