Features · interaction

Keyboard navigation

native

Move focus between data points with the keyboard

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.a11y.keyboard.

ArrowLeft/ArrowRight with aria-live announcements; must be set true

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: interaction.keyboard.md.

LibraryStatusOptionVerificationSource
Chart.jsnone—absence · absence—
Rechartsnativegrep: accessibilityLayerRechartsChart accessibilityLayergrep · weakrecharts/types/state/rootPropsSlice.d.ts:9
Apache EChartsnativearia.enabledaria describes chart; no keyboard point navigationtypes · strongecharts/types/dist/shared.d.ts:8470
Highchartsnativeaccessibility.keyboardNavigation.enabledtypes · stronghighcharts/highcharts.d.ts:11867
Plotly.jsnone—absence · absence—
NivonativeLine.isFocusableisFocusable / role props on some chartstypes · strong@nivo/line/dist/types/types.d.ts:193
Victorynativegrep: VictoryAccessibleGroupgrep · weakvictory-zoom-container/lib/victory-zoom-container.d.ts:70
visxnone—absence · absence—
ApexChartsunknown—conflict · unknown—
Tremor (npm)none—absence · absence—
Observable Plotnone—absence · absence—
Vega-Litenone—absence · absence—
AG Chartsnativegrep: keyboardkeyboard navigation (accessibility)grep · 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 Chartsunknown—unverified · unknown—
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2none—absence · absence—