5–8 minutes

Better Design System 2.4.0: Accessible charts for better data visualisation

Better Design System team avatar

By

Better Design System team

Accessible charts for better data visualisation

Better Design System (BDS) 2.4.0 introduces a dedicated charts library, making it easier to build accessible data visualisations into healthcare applications. The release also expands AI transparency through the magic variant, which now highlights AI-assisted changes in Checkbox and Radio components, improves keyboard navigation and screen reader support, and brings further enhancements to existing components.

A new charts library with accessibility built in

Dashboards, patient summaries, and reports all need to show numbers clearly, so healthcare workers can see them at a glance and act upon them in a timely manner.

As we want to provide the best possible visual support to all who create and use clinical applications, we have expanded our Web Components library to charts. With BDS 2.4.0, we have created a dedicated package, covering four chart options that bring data visualisation to the forefront of clinical application building: bar, donut, line, and pie charts.

The bar chart

The bar chart compares a value across categories, such as admissions per ward.

  • Bars run vertically by default, or horizontally when category names are too long to fit underneath.
  • Several series can sit side by side or be stacked one above the other. Stacking suits parts of a whole; side by side suits direct comparison.
  • You can fix the range and steps of the value axis, which keeps charts shown next to each other on the same scale.
  • A missing value keeps its place as a gap, so the bars around it do not close up and hide the missing reading or value.
  • An incomplete measurement is drawn with a hatch pattern, so it stands apart from complete data.

The line chart

The line chart shows change over time, such as a patient’s blood pressure across a hospital stay or glucose levels measured at each clinic visit. It supports multiple series, an area variant, and reference ranges that highlight readings falling outside the range you set.

The pie and donut chart

Lastly, the pie and donut chart shows the parts of a whole, such as admissions by route, for up to six categories. When the exact amounts matter more than the share, the bar chart reads more precisely.

Whatever the chart type, you supply the data, and the chart handles the rest:

  • Screen readers announce each chart as a single image with a short summary: its name and the number of data points. They then read every value from a hidden table, row by row with headings. For pie charts, the table also gives each slice’s share of the whole.
  • Keyboard users can reach interactive charts with the Tab key. The arrow keys move between data points, and Enter or Space key selects one of them. Charts nobody can act on stay out of the tab order, so they never become a dead end.
  • Colour is never the only signal, as charts use a contrast-checked palette, while incomplete data carries a hatch pattern as well as colour.
  • Bars grow and slices sweep into place when a chart appears, but the animation stops for anyone whose system asks for reduced motion, thus respecting user settings.
  • Announced text can be translated, so screen reader users hear the chart in their own language rather than in English.

Expanded AI transparency

Introduced in BDS 2.3.0, the magic variant helps users identify form fields and buttons that have been filled in or changed by AI. With BDS 2.4.0, you can now use it on Checkbox and Radio components, making AI-assisted selections more transparent across clinical forms.

A new background makes AI-assisted components easier to identify, with the updated visual treatment also extending to Input, Textarea, Select, Combobox, Segmented control, and Form button group.

When using the magic variant, pair it with an AI tag in the field label so users can identify AI-assisted values through text as well as colour.

Improved keyboard and screen reader accessibility

For a clinician entering observations at speed, the keyboard is often faster than the mouse. For a clinician or patient using a screen reader, a missing label turns filling in a form into guesswork. Accessibility decides how quickly and how well a job gets done, so BDS 2.4.0 improves two cornerstones of it: keyboard access and ARIA labels.

Everything users can do with a mouse should also work from the keyboard.

More flexibility across existing components

BDS 2.4.0 also brings several improvements to existing components, giving you more flexibility when designing and building healthcare applications.

SVG icons beyond Web Components

BDS icons are now available as SVG files, so you can use them in documentation, presentations, and projects outside Web Components while maintaining visual consistency with your applications.

More versatile cards

The new interactive card turns the entire card into a single clickable element, while the horizontal layout lets you arrange images, icons, text, and actions side by side. This makes it easier to create compact lists, dashboards, and overviews without sacrificing clarity. Collapsible cards also feature improved keyboard and screen reader accessibility, with headers that communicate whether the card is expanded or collapsed.

More informative and responsive banners

Banners now support additional descriptive content alongside the main message, giving you space to provide context, further instructions, or a helpful link. Improved responsive behaviour keeps messages and actions clearly organised across desktop and mobile screens.

Read-only Radio and Checkbox groups

Radio and Checkbox groups now support a read-only state, allowing users to review recorded answers without changing them. This is particularly useful when reviewing submitted clinical assessments. Unlike disabled fields, read-only fields remain easy to read.

Behind the scenes: AI-assisted development at Better

As AI coding assistants become more widely used in software development, ensuring that generated code follows established design system standards becomes increasingly important. Without the right context, AI assistants can reference non-existent components, use unsupported attributes, or introduce inconsistencies.

To address this, we have developed the BDS MCP server, an internal tool that connects AI coding assistants directly to Better Design System. Using the Model Context Protocol (MCP), an open standard for providing AI tools with external context, assistants can access component documentation, working examples, supported attributes, design tokens, and Angular directive metadata.

This enables our development teams to generate and validate code against BDS component rules, while helping them stay aligned with design system updates and breaking changes. The server provides design system context only and has no access to patient data.

What is next for Better Design System?

As 2026 draws to a close, we can look back on a year of significant growth for Better Design System. Across five releases, BDS has gained new navigation components, full design token coverage, native Angular support, greater AI transparency, and now accessible data visualisation. Each release has expanded what you can build with BDS and how we support you in creating healthcare applications.

“With BDS 2.4.0, we have moved beyond interface components into data visualisation. We aim to continue this trajectory in 2027 by expanding our library further, adapting it to new AI challenges, and providing as much support as possible to teams that actively use it.”

Valentin Grudnik, BDS team lead

While we build what’s next, explore the components, patterns, and foundations already helping teams create healthcare applications.

Share article