Changes from V2:
- Support
disclosure pattern for rich-content tooltips - render tooltip content in the DOM when closed (now, they're hidden with display:none)
- tooltips MUST be closable via keyboard without moving focus. Understanding Success Criterion 1.4.13: Content on Hover or Focus
- remove onClick helper
- prefer the accessible name to using aria-labelledby and aria-label together
- :skull: remove customTooltipAttributes
- change
css to extend the current list of styles, NOT override them entirely. - fix spelling of "auxillary" to "auxiliary"
- toggleTip -> viewToggleTip
- Adds notMobileCss, mobileCss, quizEngineMobileCss
- onHover -> onToggle
These tooltips aim to follow the accessibility recommendations from:
Here's what the fields in the configuration record do:
trigger: What element do you interact with to open the tooltip?id: A unique identifier used to associate the trigger with its content