[Tooltip] A11y and interaction improvements
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 41
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 16
Description
I've listed a few suggestions below on the tooltip interaction.
-
Trigger the tooltip when hovering points on the edge of the chart
- The hover area for points along the edge of the chart (for instance along the x- or y-axis) is reduced as the tooltip is triggered only when hovering inside the chart. This can be experienced in the examples in the documentation. Is there a way to improve this behavior?
-
Accessibility for the tooltip
onClickprop- It would be nice to be able to tab between each of the elements when this prop is set.
-
Optionally set the tooltip to be persistent (like a popover) on click
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the tooltip behavior in the examples referenced in the documentation and locate the tooltip implementation. Review how edge hovering, the onClick interaction, and persistent click behavior are currently handled. Done means the agreed tooltip improvements are implemented and each listed interaction is keyboard-accessible and covered by appropriate checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100