Skip to content

Commit

Permalink
docs: add an a11y callout about tooltips hiding important content (#2021
Browse files Browse the repository at this point in the history
)

* Also fixes the headings structure of Tooltips page
  • Loading branch information
hannahiss authored Jun 12, 2023
1 parent ba3cc7b commit 7c5afc1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion site/content/docs/5.3/components/tooltips.md
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

0 comments on commit 7c5afc1

Please sign in to comment.