[FEATURE]: Method for keyboard users to toggle hoverinfo (esp. for box plots)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- accessibility, data-visualization
Research direction
Start by reviewing how hoverinfo is activated for box plots and how modeBarButton or dropdown controls can affect a trace. Define a keyboard-accessible toggle for hover information on a per-trace basis, with the button or dropdown behavior and box-plot result matching the attached design.
Written by the indexing model from the issue text.
Description
Description
As far as I can tell, hoverinfo requires a mouse or touch interface to activate. Keyboard users would benefit from being able to toggle this information, especially for box plots. Is there a property we can access via a modeBarButton (for example) that could toggle the hoverinfo display?
Why should this feature be added?
WCAG SC 2.1.1 (Keyboard) states that mouse actions need to have a keyboard equivalent.
For box plot in particular, the box hover info is not available to keyboard users. Being able to toggle the visibility of this info on a per trace basis, and binding that to a button (or dropdown) would satisfy this case.
Mocks/Designs
Attached a mockup screenshot of what i'd like to achieve:
Best regards,
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 21
Getting set up
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.
More from plotly/plotly.js
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
chore P3 plotly-internal size: 3 task
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
chore P1 plotly-internal size: 1 task
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
chore P3 plotly-internal size: 1 task
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
plotly/plotly.js#7648 · 3 comments ·
Maintainers usually reply within 1 day
All issues in plotly/plotly.js
Similar issues
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
amponce/archive-movie-browser#354 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
saayam-for-all/webapp#1870 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Imageomics/OpenCite#66 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
chr15m/twiiit.com#20 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
antropos17/Aegis#629 ·
Maintainers usually reply within 4 days