Keyboard interaction lets users operate visualizations without a mouse. In an SVG scatterplot, make data marks focusable and reveal the same tooltip on keyboard focus that appears on mouse entry. section 10.2.4
Implement keyboard access by:
- Adding tabindex="0" to SVG marks so the Tab key can focus them. section 10.2.4
- Sorting bound data when a predictable DOM and focus order is useful. section 10.2.4
- Pairing mouseenter with focus to show feedback, and mouseleave with blur to hide it. section 10.2.4
- Reapplying tabindex and event listeners when filtering creates new SVG elements. section 10.2.4
Accessible cetacean scatterplot
A scatterplot can let users Tab through cetacean circles and display each name in a tooltip. Visible instructions explain that users can pass over circles with a mouse or access them with the Tab key. section 10.2.4


