Keyboard navigation of data points
native
Arrow-key traversal with announcements
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.a11y.keyboard.
opt-in; schema default is false and documented
Source: chartkit:packages/core/src/generated/schema.ts:1181
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "line",
"data": [
{
"quarter": "Q1",
"units": 40
},
{
"quarter": "Q2",
"units": 55
}
],
"encoding": {
"x": "quarter",
"y": "units"
},
"a11y": {
"alt": "Units rose in Q2.",
"keyboard": true
},
"size": {
"width": 640,
"height": 260
}
}Other libraries
Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: a11y.keyboard.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | none | — | absence · absence | — |
| Recharts | native | grep: accessibilityLayer | grep · weak | recharts/types/state/rootPropsSlice.d.ts:9 |
| Apache ECharts | none | — | absence · absence | — |
| Highcharts | native | accessibility.keyboardNavigation | types · strong | highcharts/highcharts.d.ts:1431 |
| Plotly.js | none | — | absence · absence | — |
| Nivo | native | grep: isFocusable | grep · weak | @nivo/icicle/dist/types/types.d.ts:101 |
| Victory | none | — | absence · absence | — |
| visx | none | — | absence · absence | — |
| ApexCharts | unknown | — | conflict · unknown | — |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | none | — | absence · absence | — |
| Vega-Lite | none | — | absence · absence | — |
| AG Charts | native | grep: keyboard | grep · weak | ag-charts-community/dist/types/src/module-support.d.ts:185 |
| amCharts 5 | native | grep: focusable | grep · weak | @amcharts/amcharts5/.internal/charts/stock/toolbar/StockToolbar.d.ts:31 |
| Google Charts | none | — | absence · absence | — |
| uPlot | none | — | absence · absence | — |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | grep: disableKeyboardNavigationkeyboard navigation plugin | grep · weak | @mui/x-charts-pro/ScatterChartPro/ScatterChartPro.plugins.d.ts:1 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | none | — | absence · absence | — |