SVG/canvas ARIA roles
native
role=img / figure / graphics-document semantics
Matrix status native. Verification grep · weak. ChartKit option: ~role=|role\\b.
role="img" on the SVG (runtime probe output)
Source: chartkit:packages/core/src/render.ts:117
No spec snippet. This row is not a single chart option validate() can show.
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.role.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | manual | Plugin.afterDatasetsDrawcanvas role/aria set by the app | mechanism · weak | chart.js/dist/types/index.d.ts:1051 |
| Recharts | native | LineChart.role | types · strong | recharts/types/util/types.d.ts:1384 |
| Apache ECharts | native | grep: aria | grep · weak | echarts/types/src/i18n/langZH.d.ts:79 |
| Highcharts | native | grep: role | grep · weak | highcharts/highcharts.src.d.ts:109 |
| Plotly.js | none | — | absence · absence | — |
| Nivo | native | Line.role | types · strong | @nivo/line/dist/types/types.d.ts:168 |
| Victory | native | grep: role | grep · weak | victory-selection-container/lib/victory-selection-container.d.ts:75 |
| visx | manual | Group | mechanism · weak | @visx/group/lib/Group.d.ts:15 |
| ApexCharts | native | grep: aria | grep · weak | apexcharts/types/unit-shapes.d.ts:99 |
| Tremor (npm) | unknown | — | conflict · unknown | — |
| Observable Plot | native | grep: ariaHidden | grep · weak | @observablehq/plot/src/scales.d.ts:599 |
| Vega-Lite | native | grep: aria | grep · weak | 41: "variance", |
| AG Charts | native | grep: role | grep · weak | ag-charts-types/dist/types/src/serverSideRenderingOptions.d.ts:54 |
| amCharts 5 | native | grep: role | grep · weak | @amcharts/amcharts5/.internal/charts/stock/toolbar/StockControl.d.ts:62 |
| Google Charts | unknown | — | conflict · unknown | — |
| uPlot | none | — | absence · absence | — |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | grep: role | grep · weak | @mui/x-charts/ChartsYAxis/useAxisTicksProps.d.ts:3817 |
| Mermaid (chart-ish diagrams only) | native | grep: aria-roledescription | grep · weak | mermaid/dist/accessibility.d.ts:10 |
| AntV G2 | none | — | absence · absence | — |