Features · a11y

Accessible data table

native

Hidden or visible table equivalent of the chart

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

visually hidden table (interact); off unless set, as the schema documents

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

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.",
    "dataTable": 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: a11y.datatable.md.

LibraryStatusOptionVerificationSource
Chart.jsnone—absence · absence—
Rechartsnone—absence · absence—
Apache EChartsnativetoolbox.feature.dataViewvisible data view (not ARIA table)types · strongecharts/types/dist/shared.d.ts:12476
Highchartsnativegrep: viewDataTableexport-data module + screen-reader tablegrep · weakhighcharts/highcharts.src.d.ts:1646
Plotly.jsnone—absence · absence—
Nivonone—absence · absence—
Victorynone—absence · absence—
visxnone—absence · absence—
ApexChartsunknown—conflict · unknown—
Tremor (npm)none—absence · absence—
Observable Plotnone—absence · absence—
Vega-Litenone—absence · absence—
AG Chartsnone—absence · absence—
amCharts 5none—absence · absence—
Google Chartsnativegrep: Tableseparate Table chartgrep · weak@types/google.visualization/index.d.ts:35
uPlotnone—absence · absence—
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsnone—absence · absence—
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2none—absence · absence—