amCharts 5: accessible charts, tested with real screen readers

AccessibilityReleasesFeatures

A column chart with the March column focused; a screen reader gets “Mar: 4,210”, role img, and a summary of the series

amCharts 5 charts work with a keyboard, a screen reader and Windows High Contrast. We build that in, and we thoroughly test it with the screen readers people use: NVDA, JAWS, VoiceOver, and Windows Narrator.

It’s in every amCharts 5 chart and map, including the free version. It works out of the box, and every part of it can be changed to suit your chart and your users. With 5.24 it covers more than ever, down to Gantt and stock charts.

Every part works with a keyboard

TAB moves between the parts of a chart, arrow keys move within a series, and ENTER acts. A series is one TAB stop, so you don’t have to tab through a hundred columns to reach the legend. Anything you can drag with a mouse, such as scrollbars, sliders, map pins and Gantt bars, also moves with the arrow keys.

The focused element has a clear outline. Its colour, width and distance from the element can be changed.

Screen readers know what they’re on

Every control says what it is and what state it’s in, with standard ARIA:

  • legend items are checkboxes that say whether their series is shown;
  • scrollbar and slider grips are sliders that read their value;
  • menus are menus, and toggles are toggle buttons;
  • charts and data items are images with a name;
  • hidden series leave the TAB order.

Maps say when their zoom changes. Tooltips can be read out as they appear.

Charts that describe their data

A chart is a picture of data, so a screen reader needs the data too. amCharts 5 gives it three ways:

  • Labels from your data. "{categoryX}: {valueY}" reads “March: 4,210” for each column.
  • A summary. ariaSummary sums up each series: how many values, the first and last, the highest and lowest.
  • A data table. ariaDataTable adds the data as a table that screen readers can browse, one row per category or date and one column per series.

ariaDescription adds longer text where a label isn’t enough. Built-in prompts, such as “Press ENTER to toggle”, come translated into 40+ languages.

const chart = root.container.children.push(am5xy.XYChart.new(root, {
  focusable: true,
  ariaLabel: "Monthly sales, 2026",
  ariaSummary: true,
  ariaDataTable: true
}));

series.columns.template.setAll({
  focusable: true,
  focusableGroup: "sales",
  ariaLabel: "{categoryX}: {valueY}"
});

Built in, and yours to change

The defaults are a starting point. Only you know what your chart means and who uses it, so each part can be set in code:

  • What’s read. Any element’s text can be set with ariaLabel and ariaDescription, from data placeholders or an adapter. Built-in prompts can be translated or reworded.
  • What takes focus. Turn focusable on or off for any element, from a single bullet to a whole series. Set the TAB order with tabindexOrder.
  • Grouping. focusableGroup puts any set of elements behind one TAB stop, with arrow keys between them: a series, several series, or any set you choose.
  • Roles. Each element’s ARIA role can be changed, so a column that acts as a button is read as one.
  • Behaviour. hoverOnFocus shows a tooltip on focus, readerAnnounce reads it out, and focus and blur events let you react in your own code.
  • Looks. The focus outline’s colour, width and padding, high contrast on or off, and colour-blind and pattern themes.

Colour and contrast

Charts follow Windows High Contrast: labels, grid, axes and buttons take the system colours, so they stay visible. Colour-blind-safe palettes and pattern fills tell series apart without relying on colour alone.

Gantt and stock charts too

Gantt tasks can be moved, resized, renamed and given progress from the keyboard. The stock chart toolbar is buttons and menus: each says whether its dropdown is open, ESC returns to the button, and searching a list says how many items it found.

How we test it

We test amCharts 5 by hand in NVDA, JAWS, VoiceOver and Narrator, the way people use them, plus automated checks. A conformance report (VPAT 2.4) documents WCAG 2.0 AA and Section 508, and it’s updated for 5.24.

The 300+ demos on our site work with a keyboard and a screen reader, so you can try any of them before you write a line of code.

Accessible charts · Conformance report · Accessibility documentation

Get amCharts 5.24

  • npm: npm install @amcharts/amcharts5
  • CDN: https://cdn.amcharts.com/lib/5/index.js

Everything else in 5.24: changelog