techniq / techniq/layerchart

[Tooltip] A11y and interaction improvements

Open
#222 1 comment 0 reactions 0 assignees View on GitHub

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 onClick prop

    • 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.