Charts Everyone Can Use: Accessibility Built Into CanvasXpress

A <canvas> element is, at its core, a bitmap. Every bar, point, axis label, legend swatch, and context menu that CanvasXpress paints onto it is just pixels — invisible to screen readers and unreachable by keyboard, no matter how carefully the visualization itself is designed. That's a real problem for any team building dashboards or reports that need to meet WCAG 2.1 AA, or that simply want their charts usable by everyone.

CanvasXpress now ships with a built-in accessibility layer that solves this the only way it can be solved: by building a parallel, real-DOM experience alongside the visual one, kept in sync automatically as your chart renders and updates. Here's what that means in practice.

Charts describe themselves

Every chart CanvasXpress renders now carries a proper role="img" and a generated aria-label — synthesized on the fly from the same data driving the visualization: chart type, title, axis labels, series count, and value ranges. A bar chart of quarterly revenue might announce itself as something like "Bar chart: revenue by quarter, 12 series, max 4.2M in Q3." There's also inline fallback text for browsers or assistive tools that don't render canvas content at all. None of this touches a single pixel — it's metadata layered onto the element you already create:

var cx = new CanvasXpress("chartCanvas", data, config);

The label regenerates every time the chart re-renders, so it never goes stale when you call updateData or updateConfig.

A real data table for screen readers

A generated label is a good headline, but screen reader users exploring a chart need the actual numbers. CanvasXpress now generates a visually-hidden data table alongside every chart, mirroring the underlying samples-and-variables matrix, linked to the canvas so assistive technology can navigate straight from the chart to its data. For very large datasets the table is bounded and truncation is explicitly announced rather than silently dropped, so nobody's left wondering whether they're seeing the whole picture.

Paired with the table is a polite live region: when a chart's data actually changes, the update is announced ("Chart updated") without being noisy on first render or on redraws that don't change anything. Combined, these two pieces turn "here's a picture of your data" into "here's your data, fully navigable."

Keyboard navigation of the data itself

Charts are now genuinely keyboard-operable, not just mouse-hoverable. The canvas is focusable, and once focused, arrow keys (plus Home/End) move a roving cursor from one data point to the next. Each move is announced through the live region — sample, variable, and value — and a focus outline is drawn around the current point so sighted keyboard users can track where they are too. This reuses the exact same logic that powers mouse hover, so the keyboard experience matches what you'd see interactively with a pointer. Existing keyboard-shortcut behavior is respected: if your application needs to disable or remap single-key shortcuts, those preferences are honored here as well.

Menus and the customizer, without a mouse

Context menus, toolbar icons, and customizer controls — all the interactive chrome around a chart — are now keyboard-operable. Any clickable control in the UI can be reached by Tab, activated with Enter or Space, and menus close cleanly with Escape. This applies even to menus generated dynamically at runtime, so you don't lose keyboard access just because a menu was built on the fly.

Visual conformance: contrast, focus, and motion

Accessibility isn't only about assistive technology — it's also about what's visible on screen. CanvasXpress now includes a clear, consistent focus-visible outline on the canvas and on keyboard-operable controls, so keyboard users always know where they are. Animations and transitions now respect your operating system's "reduce motion" preference, so users sensitive to on-screen movement aren't forced to experience it. And a new high-contrast theme is available out of the box — black text, axes, and borders on white, with pattern-based line styling so series remain distinguishable without relying on color alone.

Know exactly what's covered

Rather than asking you to take our word for it, CanvasXpress publishes a dedicated accessibility conformance report detailing, criterion by criterion, what's supported, what's partially supported, and how to get the fully accessible experience out of a chart. It's a practical resource for teams that need to document their own compliance posture, and it reflects real, automated testing — every release is checked against a suite of automated accessibility audits covering common chart types, so regressions get caught rather than shipped.

Why this matters

None of this requires you to opt in to a special "accessible mode" or maintain a separate accessible version of your dashboard. It's the same CanvasXpress constructor, the same configuration objects, the same updateData and updateConfig calls you already use — accessibility comes along for the ride. Whether you're building internal analytics tools, public-facing dashboards, or products in regulated industries where conformance is a hard requirement, CanvasXpress now gives you a meaningfully more inclusive starting point without extra engineering effort on your end.

Give it a try: drop a chart into a page, tab into it, and navigate through the data with your keyboard. It's a small interaction that represents a much bigger shift — treating accessibility as a first-class part of how CanvasXpress renders, not an afterthought bolted on top.