Accessibility | kamod chartsSkip to content

Foundations

Accessibility

Titles, keyboard navigation, contrast, and reduced motion.

Built-in chart a11y

All high-level charts accept title and description. Line, scatter, pie, and donut charts are keyboard-focusable.

Accessible revenue chartMonthly revenue for the first half of 2024.JanFebMarAprMayJun30k35k40k45k

Checklist

Accessibility

  • Always set title and description for production charts.
  • Ensure focus rings remain visible against light and dark backgrounds.
  • Provide a textual summary or DataTable for critical metrics.
  • Respect prefers-reduced-motion — MotionConfig reducedMotion="user" follows the OS setting; axes and grid never animate.
  • Do not rely on color alone; pair series with labels/legend text.

Data table alternative

@kamod-ch/charts/accessibility exports DataTable and buildChartDescription.

Monthly revenue sample
MonthRevenueCustomers
Jan284001120
Feb312001240
Mar368001380
Apr341001410
May416001560
Jun482001720