Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add a callout about accessibility on tooltips hiding important content #2021

Merged
merged 7 commits into from
Jun 12, 2023
8 changes: 7 additions & 1 deletion site/content/docs/5.3/components/tooltips.md
julien-deramond marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ Got all that? Great, let's see how they work with some examples.
{{< partial "callouts/info-prefersreducedmotion.md" >}}
{{< /callout >}}

### Examples
## Accessibility

For accessibility purpose, [content on hover or focus should be dismissible, hoverable and persistent](https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html).
With Boosted tooltips, no mechanism is available to dismiss the tooltip without moving pointer hover or keyboard focus (due to Popper library's limitations).
Please pay attention that the tooltip never hides an important content.

## Examples

### Enable tooltips

Expand Down