Creating accessible graphics

Science thrives when it is communicated effectively. As scientists, we often need to design graphics to communicate the outcome of our research, either via conference posters or presentations, paper figures and graphs, or to a wider audience through social media. Good graphics can really influence how many people engage with your research and how widely your message is distributed. However, our research cannot be truly communicated effectively unless it is accessible. As scientists and science communicators, it is our responsibility to create a more inclusive community and generate content people with disabilities can access. You don’t have to choose between creating visually appealing designs and creating accessible designs; in fact, the two often go hand in hand.

Many times we think of creating accessible graphics as making them colourblind friendly but, while it’s true we should account for this, it is not the only aspect we should think about. If you have no clue at where to start when making accessible designs you’ve come to the right place. Below I describe what I’ve learned so far about creating accessible graphics.

Here’s my top ten tips to make your graphics more accessible:

Tip 1. Creating an accessible graphic should not be an afterthought, it should be considered since the start of the design process.

A truly good design should be as inclusive as possible and therefore accessibility should be considered since the conception of your graphic. By doing this, the design process might even be easier and you won’t have to go back to redesign your entire graphic at the end when you realise it’s excluding a number of people.

Tip 2. Choose a font that is easy to read

When it comes to choosing a font, there’s a million options out there. If you’re making something like a figure, a poster or a graphical abstract, it is generally recommended that you choose a sans serif font (e.g., Arial, Helvetica). Serif fonts, like Times New Roman, have little strokes at the edges of the letter and are recommended for longer pieces of text (like a paper or a book). Sans serif fonts are chosen for graphics because they are easier to read, especially for people with dyslexia.

It is important that whatever font you choose is large enough. This of course depends on the type of graphic you’re working on. If you’re making a figure for a paper, go check the journal figures guidelines- they’ll usually specify the minimum font size you should use. If there are no specified requirements, try viewing your graphic at the “real” size people will see it. For example, if you’re making a graphical abstract for a journal you can go find their previously published abstracts and scale down your own abstract to the size it’ll be displayed on their website. Can you still read your text?

Image that reads: Arial is a sans serif font and Times New Roman is a serif font

When making scientific graphics, choose sans serif fonts (e.g., Arial) instead of serif fonts (e.g., Times New Roman)

Tip 3. Keep consistent levels of headings

It is important to structure your graphics in a logical fashion. A simple way to give structure is to keep consistent formatting in your different levels of headings. Headings are going to be bigger than your main text, they may also use bold letters or have distinct colours. You might even choose to have different fonts for the headings and main text (don’t overdo it though, only use 1 or 2 fonts!). The precise formatting of your headings and main text is up to you, but make sure they remain consistent throughout.

Image that shows the formatting of different levels of headings. The title is bold, has large font and is blue. Heading 1 is not bold and is dark grey. The main text has smaller font, is dark grey and is not bold.

Always keep consistent formatting if your different levels of headings

Tip 4. If you want to highlight something, use bold letters instead of all caps or underlined text

The British Dyslexia Association recommends emphasising text by using bold letters, rather than italics, capital letters or underlined text. According to them, italics and underlined text causes the text to appear overcrowded and all caps (and small caps) are harder to read.

Image that recommends emphasising using bold letters, rather than capital letters or underlined text

Add emphasis to your text with bold letters, rather than italics, underlined text or capital letters

Tip 5. Avoid long paragraphs & use bullet points instead

I can’t count the number of times I’ve walked into a conference poster session and I’m surrounded by dozens of posters that are essentially walls of text accompanied by one or two figures. I know it’s tempting to write everything you know about a subject or every single detail of your research when making a poster, trust me- I’ve been there. However, if you do that, chances are:

  1. People won’t read your poster,

  2. They will get bogged down on the details and miss the main point of your research,

  3. You won’t get as much engagement as you could have

If this happens, you are not effectively communicating your research. From an accessibility standpoint, long pieces of text are not easy to read for dyslexic people. Instead, make sure you use as little text as possible. Use bullet points and concise ideas.

Consider the language you’re using as well. When making conference posters and graphical abstracts you should not use the same technical writing style you’d use for a paper. Instead, use more accessible language that can be understood by a wider audience.

Image that directs you to use well spaced bullet points with concise text, rather than long, overcrowded paragraphs

Use concise text in bullet points rather than long paragraphs

Tip 6. Choose colours that are contrasting enough

I am sure I’m not the only person that has had to sit through a presentation where the slides have a bright blue background and red font. Colour combinations like the ones below are headache-inducing and, many times, illegible.

Examples of colour combinations with very poor colour contrast, including bright red on bright blue and light blue on teal

It is clear that the colour combinations shown above should not be used. Why? Because the colour of the text and the colour of the background are not contrasting enough. How do we decide what’s the appropriate contrast? The Web Content Accessibility Guidelines (WCAG 2.1) have you covered.

The WCAG have two levels of colour contrast:

  1. Level AA:

    1. Normal text should have a contrast ratio of 4.5 : 1 (or higher) with the background

    2. Large text should have a contrast ratio of 3 : 1 (or higher) with the background

  2. Level AAA:

    1. Normal text should have a contrast ratio of 7 : 1 (or higher) with the background

    2. Large text should have a contrast ratio of 4.5 : 1 (or higher) with the background

Image that indicates that in level AA, the colour of normal text should have a contrast of at least 4.5:1 with the background, and that of larger text 3:1

Level AA of WCAG 2.1

Image that indicates that in level AA, the colour of normal text should have a contrast of at least 7:1 with the background, and that of larger text 4.5:1

Level AAA of WCAG 2.1

Similarly, the colour of graphics (like logos, charts. etc.) should have a contrast of at least 3 : 1 with the background colour.

Comparison of two bar charts- one with colours that are contrasting enough (over 3:1) and one that isn't (under 3:1)

Graphics should also have enough contrast with the background

So this all seems pretty straightforward but, how can you actually check the contrast between your foreground (e.g., text or graphics) and your background?

There’s two things you need to do:

  1. Obtain the colour code of your background and foreground

  2. Check their contrast in an online colour contrast checker

You can obtain the code of your colours in whatever software you’re working on, commonly in the same section you choose your colours (perhaps in some advance colour settings depending on the software, see a couple of examples in the image below). You can also upload images to various websites to obtain the colour codes.

Screenshots of Illustrator and Keynote showing where to obtain colour codes. In Illustrator you can go to "Color Picker". In Keynote you can go to "Colour Fill"

Examples of how to obtain colour codes in Adobe Illustrator and Keynote

Once you have the codes of your colours, you can go to an online colour contrast checker to see if your colours are contrasting enough. The good thing is that many of these sites have built-in the Web Content Accessibility Guidelines, so no need to remember the actual values! My go-to website for this is Colour Contrast Checker, because it nicely depicts what your colours look like and it tells you whether they are contrasting enough based on the accessibility guidelines.

Screenshot of the website Colour Contrast Checker

You can clearly see whether your colours are contrasting enough in the Colour Contrast Checker

Tip 7. Avoid overly complicated backgrounds

Busy backgrounds make reading your text more difficult, especially for dyslexic people, and can distract from your message. Instead, try using a solid background (with enough contrast with the foreground).

Avoid using a pure white background with a pure black font (or vice versa). It can be too jarring to look at. Instead, you can use an off-white background and a dark grey font.

Image that recommends avoiding pure white/pure black colour combinations. Instead, it recommends using a light pastel background with a dark grey font.

Avoid using a combination of pure black and pure white!

Tip 8. Make sure your graphics are colourblind friendly

It is always important to make sure your graphics are colourblind friendly, especially if you are relying on colour to convey meaning! For example, if you are colour coding different groups on a plot and you don’t check whether your colour palette is colourblind friendly, the meaning of your plot will be lost. You can clearly see it in the example below.

Comparison of two plots, one of which is viewed through a colourblindness simulator. The original colours (red and green) appear identical in the simulator.

Remember not everyone can see colours the same way

To avoid this from happening you can either:

  • Use a colourblind friendly palette when building your graphics

    • I love using ColorBrewer to obtain colourblind friendly palettes when visualising data, especially because you can choose a colour palette that suits the type of data you’re using (e.g., sequential, diverging, qualitative).

    • You can also create your own colourblind friendly palettes (and check your colour contrast) using the accessibility tools of the Adobe Color Wheel

    • There are also R packages that either provide you with colourblind friendly palettes or simulate colourblindness, like colorblind (ggthemes package) and RColorBrewer

  • Try using a colourblindness simulator

    • Viz Palette allows you to see what your colour palette would look like to a person with colourblindness

    • Coblis and colorblindr are online colourblindness simulators that allow you to upload your own images

    • Specialised software, like Adobe Illustrator, also have built-in colourblindness simulators

Screenshot of how to access colourblind simulator in Adobe Illustrator (it's under View>Proof Setup>Color blindness)

This is how you access the colourblindness simulator in Adobe Illustrator

Tip 9. Don’t only rely on colour when you need to distinguish groups

Even when you’ve made sure your colour palettes are colourblind friendly, it is important you don’t only rely on colour when trying to distinguish groups. You can use other strategies, like using different shapes or directly labelling the groups in a plot. There’s many reasons to do this. Imagine, for example, someone prints out your plot in Black & White- if you were only relying on colour, chances are the plot is now unreadable. It is important we improve the legibility of our graphics as much as we can. Another way to do this is to include a short sentence that sums up the main take home message of the chart.

Plot that uses several strategies to distinguish two groups, including different colours, different shapes, convex hulls and labels said groups directly on the plot

Make sure to not only use colours when differentiating groups, but distinct shapes & labels

Tip 10. Always add Alt-Text to your images and graphs

Alternative text, or alt-text, is a short description of an image or graph which is read out loud to people who use screen readers. This allows them to understand the content of images which they wouldn’t have been able to obtain otherwise. Oftentimes, if no alt-text is available, screen readers will read the name of the file- this is clearly not useful. Therefore, we need to add an informative short description of our images in the form of alt-text.

What should we include in this alt-text? First of all, it should be a concise and informative description- don’t make it overly long! Remember it’s being read out loud to people. With that in mind, Amy Cesal created a very useful formula that can help us come up with the best alt-text possible. It includes the following:

  1. Chart type

  2. Type of data

  3. Reason for including the chart

  4. Link to data source

A number of excellent examples and further description on the use of alt-text can be found in Amy Cesal’s Nightingale article.

Once you know what you want to include in your alt-text, how do you actually add it to your image? This varies from site to site. If you’re building a website, this will often be found alongside the image properties. If you’re uploading an image to social media, there’s several options. Here you can find the instructions for Twitter and Instagram.

  1. Twitter:

    • Website: Find the option below the image that says "Add description". Click on it and write a short, informative description of your image.

    • Mobile app: There is an option on the bottom right corner of the picture that says "+Alt". Click on it to include the description of your picture.

  2. Instagram: Follow these steps:

    1. Create a new post, select your picture & filter,

    2. Click on Advanced Settings,

    3. Click on Alt Text,

    4. Write the description of your image

Screenshot of how to add alt-text in Twitter mobile app (on the bottom right corner of the image there is a button that says +Alt)

How to add alt-text in Twitter

Screenshots of how to add alt-text on Instagram mobile app. It's under Advanced Settings>Accessibility

How to add alt-text in Instagram

I hope you have found these tips useful, and I’ll make sure to update this site whenever I learn any more ways to make graphics more accessible!

All the information found here was compiled from the following excellent sources:

Want to learn more about accessibility? Make sure to follow these accessibility experts on Twitter:

Previous
Previous

How do you make your first scientific poster?