Features · a11y

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.

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."
  },
  "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.

LibraryStatusOptionVerificationSource
Chart.jsmanualPlugin.afterDatasetsDrawcanvas fallback content / aria-label on canvasmechanism · weakchart.js/dist/types/index.d.ts:1051
RechartsnativeLineChart.title, LineChart.desctypes · strongrecharts/types/util/types.d.ts:1397
Apache EChartsnativearia.label.descriptiontypes · strongecharts/types/dist/shared.d.ts:8433
Highchartsnativeaccessibility.description, lang.accessibilitytypes · stronghighcharts/highcharts.d.ts:1400
Plotly.jsnone—no chart-level ARIA optionabsence · absence—
NivonativeLine.role, Line.ariaLabeltypes · strong@nivo/line/dist/types/types.d.ts:168
VictorynativeVictoryChart.title, VictoryChart.desctypes · strongvictory-chart/lib/victory-chart.d.ts:25
visxmanualGroupmechanism · weak@visx/group/lib/Group.d.ts:15
ApexChartsnativechart.accessibilitytypes · strongapexcharts/types/apexcharts.d.ts:2394
Tremor (npm)none—absence · absence—
Observable Plotnativegrep: ariaLabelgrep · weak@observablehq/plot/src/scales.d.ts:607
Vega-Litenativegrep: descriptiondescription -> aria-labelgrep · weak41: "variance",
AG Chartsnativegrep: accessibilitygrep · weakag-charts-types/dist/types/src/series/cartesian/commonOptions.d.ts:262
amCharts 5nativegrep: ariaLabelgrep · weak@amcharts/amcharts5/.internal/plugins/exporting/ExportingMenu.d.ts:94
Google Chartsnone—absence · absence—
uPlotnone—absence · absence—
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsnativegrep: titlegrep · weak@mui/x-charts/package.json:5
Mermaid (chart-ish diagrams only)nativegrep: accTitleaccTitle / accDescr in diagram textgrep · weakmermaid/dist/diagram-api/types.d.ts:28
AntV G2none—absence · absence—