Blog post
15/8/2025

How Accessibility Standards Can Inspire Better Visual Design for Charts

Accessibility in data visualizations involves much more than web standards, especially if you are trying to create a genuinely useful experience. Over the past three years, Kent’s working group at Google has explored methods for creating useful and accessible visualizations that go well beyond simple compliance. In discussions with designers across the industry, two specific requirements kept coming up: accessible chart colors and dual encoding, meaning not relying on color alone to communicate information. This article focuses on WCAG 2.1 standards and covers many methods for using accessibility standards to create better, more accessible visual design.

Data visualizations are graphic representations that use our visual system and innate abilities to collect, store, and process information in the environment, as shown in the animation in Figure 1.0.

When we see berries on a bush, we can quickly group them by color and size because we have pre-attentive processing abilities.
Figure 1.0. Animation illustrating our ability to process information before we consciously perceive it. Based on a lecture by Dr. Stephen Franconeri.

Because of this, we can quickly notice trends, patterns, and outliers across all visible images. Can you spot the visual patterns in Figure 1.1?

Size, outlines, fills, and shape types all contribute to how we visually organize data.
Figure 1.1. Pattern groups defined by size, outlines, fills, and shape types.

This example contains patterns defined by shape size, the use of fills and outlines, and the use of different shape types. These characteristics, or visual encodings, are the building blocks of visualizations. Good visualizations provide a quickly understandable view of a large dataset that we otherwise would not be able to grasp.

Accessibility challenges in data visualizations

Visualizations are commonly used in a wide range of cases and can be quite complex. A lot of attention is given to choosing the right encodings to represent each metric. Designers and engineers use colors to draw attention to more important metrics or information and to highlight outliers. Often, when making these design decisions, people with visual disabilities are forgotten.

Visual disabilities affect hundreds of millions of people worldwide. For example, about 300 million people have color vision deficiencies, and this condition affects 1 in 12 men.¹

¹ Colour Blind Awareness (2023)

Most people with these conditions do not use assistive technologies when viewing data. Because of that, the visual design of a chart must accommodate them.

Figure 1.2 shows an example of a donut chart. At first glance, the categorical color palette may seem to fit the digital well-being theme. It is calm, cool, and may even evoke a sense of well-being.

Using a low-contrast color palette can make data difficult to read for people with protanopia.
Figure 1.2. DON’T: do not use low-contrast colors in your chart.

Figure 1.3 shows how the same chart will look to a person with protanopia. You will notice that it is a little harder to read because the “Other” and “YouTube” categories at the top of the donut are indistinguishable from one another.

A person with protanopia will not be able to distinguish different data points if the chart color palette is inaccessible.
Figure 1.3. How a person with protanopia may see an inaccessible color palette.

For a person with achromatopsia, the chart will look like the one shown in Figure 1.4.

A person with achromatopsia will not be able to distinguish different chart data if the color palette is not accessible.
Figure 1.4. How a person with achromatopsia may see an inaccessible color palette.

In this case, we could say that the chart tells us nothing. It is almost impossible to read, and replacing it with a data table would undoubtedly be more useful. At this point, you may be wondering how to fix it. Where do you start?

Start with web standards

Web standards can help us improve the design. In this case, the Web Content Accessibility Guidelines (WCAG) provide the most comprehensive set of requirements to start from. The guidelines require us to consider two things. First, all colors must achieve a sufficient contrast ratio with adjacent elements. Second, visualizations must use more than color alone to communicate information. This can be achieved by including a second encoding or by adding text, images, icons, or patterns. Although this article focuses on meeting WCAG 2.1 standards, the same principles can also be used to meet WCAG 2.2 standards.

The challenges of web standards

Meeting web standards is more complicated than it may seem at first glance. Let’s look at a few examples that show how difficult it can be to ensure that data is understandable at a glance while also meeting the standards.

Challenge 1: Color contrast

According to WCAG 2.1 Level AA standards, graphical elements such as chart elements — lines, bars, areas, nodes, edges, links, and so on — must achieve a minimum 3:1 contrast ratio with adjacent elements. Adjacent elements may be other chart elements, interaction states, and the chart background. By the way, if you are not sure whether your colors reach the correct minimum ratio, you can check your palette here. In addition, all text elements must achieve a minimum 4.5:1 contrast ratio with their background. Figure 1.5 shows a sample categorical color palette that meets the recommended standards.

WCAG-recommended contrast ratios include shades of blue, orange, purple, green, and gray.
Figure 1.5. Sample color palette that meets WCAG-recommended contrast ratios.

This is quite a bright palette. When a compliant palette is applied to a chart, it may look like the example in Figure 1.6.

Too many contrasting colors, such as red and blue in this Logs events chart, can make the data harder to read.
Figure 1.6. A chart with WCAG-recommended contrast ratios.

Although this example meets the color contrast requirements, there is a trade-off. The chart’s main focus is now lost. The red segments at the bottom of each stacked bar represent the most important metrics shown in this chart. They represent errors or the number of items requiring your attention. Because the chart uses bright colors that all compete equally for our attention, it is now harder to see the most important elements.

Challenge 2: Dual encoding, or communicating information without color

To reduce reliance on color for communicating information, WCAG 2.1 Level A standards also require using more than color alone to communicate information. This can be a pattern, texture, icon, text overlay, or a completely different visual encoding.

It is easy to place a pattern over a categorical fill color and consider the work done, as shown in Figure 1.7. But is the chart still readable? Is it quickly understandable? In this case, the segments appear to blur together. In his book “The Visual Display of Quantitative Information”, Edward Tufte describes the importance of reducing chartjunk — unnecessary visual design elements that limit the ability to read a chart. This raises the question: are WCAG standards encouraging us to add unnecessary chartjunk to a visualization?

A digital well-being example showing how textures and too many other visual design elements make charts harder to read.
Figure 1.7. Added textures and chartjunk reduce the readability of this donut chart.

Following the standards literally can lead us down a path where we create a very “noisy” visualization.

Let standards inspire, not restrict, design

Over the past few years, our working group at Google has learned that it is easier to meet WCAG visual design requirements when they are considered at the beginning of the design process, rather than trying to update existing charts to meet the standard. The latter approach leads to charts with unnecessary chartjunk, as shown in Figure 1.7, and reduced usability. By considering accessibility first, you can create a visualization that is not only accessible but also useful. We call this an “accessibility-first” approach to chart design. Now let’s look at a few examples.

Solving color contrast

Let’s return to the color contrast requirement using the example in Figure 1.8. In this case, the most important metric is represented by the red segments at the bottom of each bar. The red color represents the number of items in a failure state. Because both colors in this palette compete for our attention, it is hard to focus on the most important metric. The chart is no longer quickly understandable.

Too many contrasting colors, such as red and blue in this Logs events chart, can make data harder to read.
Figure 1.8. USE CAUTION: high-contrast color palettes can reduce quick comprehension and focus.

Focus only on essential elements

By stretching the standards a little, we can create a much better balance between accessibility and quick comprehension. Only the visual elements that are essential for interpreting the visualization need to meet the color contrast requirement. In the case of Figure 1.8, we can use outlines that meet the required contrast ratio, while using lighter colors for fills to guide attention. In Figure 1.9, you will notice that your attention now moves toward the most important metrics.

Accessible borders with lighter fills in this events chart make it much easier to distinguish the data from each other.
Figure 1.9. ✅ DO: consider using a combination of outlines and fills to meet contrast requirements while preserving focus.

Dark themes are a win

Most designers we know love a good dark theme, as shown in Figure 2.0. It looks beautiful, and dark themes often create visually striking charts.

Most importantly, a dark theme provides an accessibility advantage. When designing on a dark background, we can use a wider range of color shades that still meet the minimum required contrast ratio.

This chart showing the number of people hospitalized and in intensive care easily meets contrast requirements because it uses a dark theme.
Figure 2.0. ✅ DO: consider a dark theme, which will allow you to use a wider range of shades that meet contrast requirements.

According to an audit conducted by Google’s Data Accessibility Working Group, 61 shades from the 2018 Google Material palette met the minimum 3:1 contrast ratio when used on a dark background. This is shown in Figure 2.1. Only 40 Google Material color shades met the same contrast ratio when used on a white background. A 50% increase in accessible shades when moving from a light background to a dark one makes a big difference. With access to more shades, we can draw attention to the most important elements.

Accessible contrast ratios are available in both light and dark themes using the Google Material color palette. More accessible contrast ratios are available when using a dark theme.
Figure 2.1. Comparison of accessible contrast ratios in light and dark themes using the Google Material color palette.

With this in mind, let’s return to the earlier donut chart example in Figure 2.2. For now, we will keep the white background because it is a core part of Google’s brand.

Using a combination of fills and outlines in the digital well-being chart can achieve the minimum contrast ratio and make the chart easier to read.
Figure 2.2. ✅ DO: use a combination of fills and outlines that meet minimum contrast ratios to improve chart readability.

Although this is a great first step, there is still more work to do. Let’s take a closer look.

Solving dual encoding and reducing chartjunk

As shown in Figure 2.3, color is the only way to connect the donut segments to their corresponding categories in the legend. Despite our efforts to follow color contrast standards, the chart may still be hard to read for people with certain visual disabilities. We need dual encoding, or more than color alone, to communicate information.

How can we do this without adding noise and reducing the chart’s readability or quick comprehension? Let’s start with text.

A version of the digital well-being chart that is not accessible because it uses colors to identify time spent online.
Figure 2.3. DON’T: do not let color be your only encoding method for identifying categories and metrics.

Integrating text and icons

Adding text to a visualization is a great way to solve the dual encoding problem. Let’s use our donut chart as an example. If we move the legend labels into the chart, as shown in Figure 2.4, we can visually connect them to their corresponding segments. As a result, the legend is no longer needed, and the labels become the second encoding.

A version of the digital well-being chart that improves accessibility by using labels to mark time spent on specific online platforms.
Figure 2.4. ✅ DO: consider using labels as a second encoding.

Let’s look at a few other ways to provide dual encoding while maximizing readability. This will prevent us from going down the path of adding unnecessary chartjunk, as highlighted earlier in Figure 1.7.

Depending on the situation, the shape of the data, or the available screen space, we may not have the luxury of placing text on the visualization. In cases like Figure 2.5, icons can still be used. For example, if we have a very limited number of categories, added icons can still work as dual encoding.

A Compute Engine CPU usage chart where shapes are used to represent categories, such as countries.
Figure 2.5. ✅ DO: use shapes to represent categories in a stacked area chart.

Some charts may contain hundreds of categories, making it difficult to add icons or text. In such cases, we need to return to the purpose of the chart and decide whether categories need to be distinguished. Perhaps color, together with dual encoding, can be used to highlight other aspects of the data. The example in Figure 2.6 shows a line chart with hundreds of categories. Here, we used color in several ways to communicate information:

  1. Bright colors are used to represent outliers in the dataset.
  2. Neutral gray is applied to all nominal categories.

In this case, we can again use a very limited set of shapes to distinguish specific categories.

Bright colors help highlight outlier data in this Compute Engine CPU usage chart.
Figure 2.6. ✅ DO: rely on bright colors to represent outliers rather than individual categories in a line chart.

The benefits of small multiples and sparklines

There are still cases where it is important to distinguish all categories represented in a visualization. For example, the tangled chart shown in Figure 2.7.

A Compute Engine CPU usage chart that is hard to read because it uses too many colors and shapes.
Figure 2.7. DON’T: do not overuse colors and shapes in a categorical line chart. (Large preview)

In this case, a more accessible solution would be to divide the chart into separate small charts or sparklines, as shown in Figure 2.8. This solution is undoubtedly better for everyone because it makes it easier to see the individual trend of each category. It is more accessible because we have completely removed the reliance on color and added text to each small chart, which is better for the screen reader experience.

Sparklines make it easier to see how Compute Engine CPU usage data differs.
Figure 2.8. ✅ DO: consider using sparklines as a more readable alternative.

Reserve fills for items that require your attention

Earlier, we looked at combining fills and outlines to meet color contrast requirements. Red and green are often used to communicate status. For a person with red/green color vision deficiency, this can be very problematic. As an alternative, in the status icons in Figure 2.9, fills are reserved for items that require your attention. We created this solution together with customers who have color blindness. It is also undoubtedly easier to scan for people with full vision.

Icon fills can draw attention to errors on a page if they are not overused.
Figure 2.9. ✅ DO: use icon fills sparingly to highlight items that require your attention.

Using relevant metaphors

In 2022, we launched a redesigned Fitbit mobile app to the public. One of our favorite visualizations from that launch is a chart showing your heart rate throughout the day. As shown in Figure 3.0, this chart shows when your heart rate crosses different zones. Dotted lines were used to represent the thresholds of each of these zones. We used the spacing between dots as dual encoding, evoking the feeling of a “visual” heartbeat. Threshold lines with closely spaced dots indicate a higher heart rate.

Continuing the theme of fun, relevant metaphors, we even based the threshold spacing on the Fibonacci sequence. This allowed us to represent each threshold in a noticeably different visual way. For this example, we knew we were on the right track because these accessibility solutions were well received in tests with people who have color vision deficiencies.

Dotted lines playfully emphasize that this chart focuses on heart rate measurements.
Figure 3.0. ✅ DO: use recognizable metaphors. In this case, dotted lines can reflect a visual heart rhythm.

Accessible interaction states

Color contrast and encodings must also be considered when showing interactions such as hover, selection, and keyboard focus, as shown in the examples in Figure 3.1. The same rules apply here. In this example, the hover, focus, and pressed state of each bar is defined by elements that appear above and below the bar. As a result, these elements only need to meet the 3:1 contrast ratio with the white background, not with the bars themselves. This pattern was not only well received in several usability studies, but was also designed so that states can overlap. For example, a hover state and a selected state can appear at the same time and still meet accessibility requirements.

Interaction patterns such as hover and focus states can be shown above and below UI elements to make it easier to meet color contrast standards.
Figure 3.1. ✅ DO: consider how requirements apply to interaction states.

Searching for inspiration

For some more complex projects, we drew inspiration from unexpected fields.

For example, we looked to nature (Figure 3.2) to consider methods for visualizing the effect of cloud moisture on an LTE network, as sketched in Figure 3.3.

Starlings flying in the sky resemble the effect of cloud moisture on an LTE network.
Figure 3.2. Drawing inspiration from nature and the flight patterns of starlings. (Photo by Tanya Hart)
This depiction of rain patterns was inspired by birds flying in the sky.
Figure 3.3. Applying inspiration from nature to rainfall visualization across a geographic region.

We drew inspiration from halftone printing processes (Figure 3.4) to think about how we could reimagine a heatmap with dual encoding, as shown in Figure 3.5.

In halftone printing processes, images are created using dot patterns.
Figure 3.4. Drawing inspiration from halftone printing processes. (Image source: Magica)
Halftone printing processes can be used as inspiration for encoding a heatmap.
Figure 3.5. Applying inspiration from halftone printing processes.

We also drew inspiration from architecture and how people move through buildings (Figure 3.6) to consider methods for showing data volume and flow in a donut chart, as shown in Figure 3.7.

A complex radial atrium and skylight that inspired data visualizations
Figure 3.6. Drawing inspiration from architecture and building flows. (Photo by Evan-Amos)
The animated donut in this loading indicator strongly resembles the skylight shown earlier.
Figure 3.7. Applying inspiration from architecture and building flows.

In this case, the animated inner ring emphasizes the volume of the donut chart when it is empty and indicates that it will fill to 100%. Animation is a great technique, but it creates other accessibility challenges and should either end or include a stop control.

In some cases, we were even inspired to explore new versions of existing visualization types, as shown in Figure 3.8. This case study highlights a step-by-step guide to how we approached this example.

A scorecard showing how heatlanes, which are part heatmap and part histogram, can meet WCAG standards.
Figure 3.8. A Heatlane visualization that meets WCAG standards.

How do you convince people about accessibility?

One of the main lessons is that it is important to involve colleagues in accessibility as early as possible. Your compliant designs may not look as beautiful as non-compliant ones and may receive criticism.

So how do you convince colleagues? To begin with, education is essential. Provide examples like these that can help colleagues build empathy for people with visual disabilities. Find moments to share the work with your company’s leadership team and spread awareness. Team meetings, design critiques, AMA sessions, organization forums, and all-hands meetings are good starting points. Often, colleagues may not fully understand how accessibility requirements apply to charts or how their visualizations are used by people with disabilities.

While sharing is a great starting point, communication is one-way. We found it easier to build momentum when you invite others to participate in the design process. Invite them to ideation meetings, design reviews, co-design sessions, and the problem space to help them appreciate how complex these challenges are. Ask for their help as well.

By communicating with colleagues, we were able to identify our champions within the group — people who were so passionate about the topic that they were willing to dedicate extra time to creating demos, prototypes, design specifications, and research repositories. For example, at Google, we were able to publish our Top Tips for Data Accessibility on the Material Design blog.

In addition to good citizenship and bottom-up initiative, there are also ways to persuade the business. Pointing to regulations such as Section 508 in the United States and the European Accessibility Act are other good ways to encourage your business to examine your product’s accessibility more deeply. This is also an effective mechanism for obtaining funding and ensuring that accessibility is included in your product roadmap. Once you have made the business case and identified accessibility champions on your team, it is time to start designing.

Conclusion

Accessibility is more than compliance. Accessibility solutions can and will benefit everyone, so it is important not to push them into a special menu or mode, or forget them until the very end of the design process. When you consider accessibility from the beginning, WCAG standards suddenly feel much less restrictive than when you try to retrofit existing charts for accessibility.

The examples shown here were created over three years and are based on valuable lessons learned along the way. We hope you can use the tested designs in this article to get a head start. And by applying an accessibility-first approach, you will ultimately create better data visualizations — ones that fully consider how all people collect, store, and process information.

Resources

To start thinking about data accessibility, review some of these resources: