Features · a11y

Long description

native

Extended description linked via aria-describedby

Matrix status native. Verification runtime · strong. ChartKit option: ChartKitChartSpecV1.a11y.description.

<desc> and aria-describedby; drawn on createRenderer([line]) since PR #17 (main 116d0af)

Source: chartkit:packages/core/src/generated/schema.ts:1177

ChartKit spec

Passed validate() during npm run matrix:refresh. The SVG is the server render.

Units rose in Q2.Units rose from Q1 to 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.",
    "description": "Units rose from Q1 to Q2."
  },
  "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.description.long.md.

LibraryStatusOptionVerificationSource
Chart.jsnone—absence · absence—
RechartsnativeLineChart.desctypes · strongrecharts/types/util/types.d.ts:1241
Apache EChartsnativearia.label.descriptiontypes · strongecharts/types/dist/shared.d.ts:8433
Highchartsnativeaccessibility.description, accessibility.screenReaderSectiontypes · stronghighcharts/highcharts.d.ts:1400
Plotly.jsnone—absence · absence—
Nivonativegrep: ariaDescribedBygrep · weak@nivo/tree/dist/types/types.d.ts:216
VictorynativeVictoryChart.desctypes · strongvictory-chart/lib/victory-chart.d.ts:12
visxnone—absence · absence—
ApexChartsnone—absence · absence—
Tremor (npm)none—absence · absence—
Observable Plotnativegrep: ariaDescriptiongrep · weak@observablehq/plot/src/scales.d.ts:612
Vega-Litenativegrep: descriptiongrep · weak52: "description"
AG Chartsunknown—conflict · unknown—
amCharts 5nativegrep: ariaDescriptiongrep · weak@amcharts/amcharts5/package.json:5
Google Chartsnone—absence · absence—
uPlotnone—absence · absence—
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsnativegrep: descgrep · weak@mui/x-charts/package.json:5
Mermaid (chart-ish diagrams only)nativegrep: accDescrgrep · weakmermaid/dist/diagrams/wardley/wardleyDb.d.ts:44
AntV G2none—absence · absence—