Enhance your Designs with Accessibility Annotations

Posted on

Accessibility is a joint project. To ensure that a website is easy to use for all users, accessibility should be considered throughout the entire development process. How can designers best contribute?

As a web developer and requirements engineer, I work closely with UI/UX designers. Based on the requirements, they develop designs and prototypes for the user interface, which developers later implement. This work is often very visually dominated: Which colors are used? How do we best take the customer’s corporate identity into account?

Two employees of a flower store look at the tablet on the table in front of them.

When designers tackle accessibility, they often think of the use of color and sufficient contrast ratios. But designs can do even more: accessibility annotations convey important information about the structure and semantics of the website.

The A11y Annotation Kit for Figma

There are various programs for creating prototypes. My colleagues like to work with Figma, a collaborative platform for UI/UX design.

To document accessibility considerations there, designers can define suitable elements themselves or work with ready-made libraries such as the A11y Annotation Kit. This offers a wide range of tools to mark up semantic information in the design. Let’s take a closer look at a few of them.

Mark up Headings

Sighted users usually scan a website for headings to find what they are looking for. Headings are also of central importance for blind and visually impaired users: According to the latest survey by WebAIM, 9 out of 10 screen reader users say that meaningful heading levels are very or somewhat useful for them.

Headings must be marked up semantically so that screen readers can recognize them as headings. On websites, this is done with the HTML tags h1 to h6 . Users can then use keyboard shortcuts to jump from heading to heading, for example, and thus get a quick overview.

Designers should consider as early as possible how the content of a page can be meaningfully structured with headings. In the final design, all headings and their level (1 to 6) should be annotated. Here’s an example:

A design with two headings marked as h2 and h3.

Screenshot: © Alexander Lehner

Two questions will constantly accompany you: What makes a headline a headline? Which headline hierarchy makes sense? To make your life a little easier, here are a few learnings and tips:

Alternative Text for Images

Missing or poor alternative text is one of the most common barriers on websites. According to the WebAIM Million 2023 study, over one third of the images on popular websites have missing, questionable, or repetitive alternative text.

Design prototypes should therefore define alternative texts for image content so that visually conveyed information is also accessible for screen reader users. You should consider the following points:

A design with several images for which alternative texts are defined.

Screenshot: © Alexander Lehner

You can find more information and some negative examples in my article “A Picture Says More Than a 1000 Words – Unless You’re Blind!”.

Links are underlined. Buttons are clickable boxes. Aren’t they? 🤔

Visually, links and buttons are often not clearly distinguishable from each other. In some designs, links look like classic buttons, and vice versa. This is usually not a problem for sighted users: they only need to understand that these elements are interactive.

However, the semantic role of the elements is particularly important for assistive technologies. Depending on whether the screen reader announces an element as a link or a button, users expect different behavior:

This means that the appearance is secondary. The function of the element is crucial. I recommend you read the article “Links vs. Buttons in Modern Web Applications”, which delves deeper into the topic.

Dear designers: Mark links and buttons according to their function. And please add a legend to your design that tells developers to use native elements for this. So a for links and button for buttons. Your users will love you for it! 🤩

Posted on