Features · a11y

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.

Units rose in Q2.Units rose in Q2.40455055Q1Q2
{
  "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.

LibraryStatusOptionVerificationSource
Chart.jsnone—absence · absence—
Rechartsnativegrep: accessibilityLayergrep · weakrecharts/types/state/rootPropsSlice.d.ts:9
Apache EChartsnone—absence · absence—
Highchartsnativeaccessibility.keyboardNavigationtypes · stronghighcharts/highcharts.d.ts:1431
Plotly.jsnone—absence · absence—
Nivonativegrep: isFocusablegrep · weak@nivo/icicle/dist/types/types.d.ts:101
Victorynone—absence · absence—
visxnone—absence · absence—
ApexChartsunknown—conflict · unknown—
Tremor (npm)none—absence · absence—
Observable Plotnone—absence · absence—
Vega-Litenone—absence · absence—
AG Chartsnativegrep: keyboardgrep · weakag-charts-community/dist/types/src/module-support.d.ts:185
amCharts 5nativegrep: focusablegrep · weak@amcharts/amcharts5/.internal/charts/stock/toolbar/StockToolbar.d.ts:31
Google Chartsnone—absence · absence—
uPlotnone—absence · absence—
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsnativegrep: disableKeyboardNavigationkeyboard navigation plugingrep · weak@mui/x-charts-pro/ScatterChartPro/ScatterChartPro.plugins.d.ts:1
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2none—absence · absence—