Accessible name / alt text
native
Text alternative exposed to assistive tech
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.a11y.alt.
required; aria-label + <desc>
Source: chartkit:packages/core/src/generated/schema.ts:1173
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."
},
"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.alt.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | manual | Plugin.afterDatasetsDrawcanvas fallback content / aria-label on canvas | mechanism · weak | chart.js/dist/types/index.d.ts:1051 |
| Recharts | native | LineChart.title, LineChart.desc | types · strong | recharts/types/util/types.d.ts:1397 |
| Apache ECharts | native | aria.label.description | types · strong | echarts/types/dist/shared.d.ts:8433 |
| Highcharts | native | accessibility.description, lang.accessibility | types · strong | highcharts/highcharts.d.ts:1400 |
| Plotly.js | none | —no chart-level ARIA option | absence · absence | — |
| Nivo | native | Line.role, Line.ariaLabel | types · strong | @nivo/line/dist/types/types.d.ts:168 |
| Victory | native | VictoryChart.title, VictoryChart.desc | types · strong | victory-chart/lib/victory-chart.d.ts:25 |
| visx | manual | Group | mechanism · weak | @visx/group/lib/Group.d.ts:15 |
| ApexCharts | native | chart.accessibility | types · strong | apexcharts/types/apexcharts.d.ts:2394 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | grep: ariaLabel | grep · weak | @observablehq/plot/src/scales.d.ts:607 |
| Vega-Lite | native | grep: descriptiondescription -> aria-label | grep · weak | 41: "variance", |
| AG Charts | native | grep: accessibility | grep · weak | ag-charts-types/dist/types/src/series/cartesian/commonOptions.d.ts:262 |
| amCharts 5 | native | grep: ariaLabel | grep · weak | @amcharts/amcharts5/.internal/plugins/exporting/ExportingMenu.d.ts:94 |
| Google Charts | none | — | absence · absence | — |
| uPlot | none | — | absence · absence | — |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | grep: title | grep · weak | @mui/x-charts/package.json:5 |
| Mermaid (chart-ish diagrams only) | native | grep: accTitleaccTitle / accDescr in diagram text | grep · weak | mermaid/dist/diagram-api/types.d.ts:28 |
| AntV G2 | none | — | absence · absence | — |