Skip to main content

This is a new service. If you have questions or suggestions, send us your feedback.

Accessibility

Interaction Designers

Designing simple screens and interactions makes things easier for everybody. To deliver digital products and services that anyone can use, we need to design them that way.

Start with existing patterns

Before designing a new product, service or feature, check what patterns are already available. Existing patterns and components are more likely to be accessible.

If you need to adapt an existing pattern, make sure you:

Avoid dynamic content

Dynamic content, such as live data, can cause accessibility issues. Changes are not always clear to assistive technologies.

If the content of a page has to change dynamically, assistive technology needs to know about the change. Work with a Frontend Developer to make sure all dynamic content has the right attributes, or ask the UCD community.

Use simple labels and instructions

For anything that needs user input, you must add a label. Every label should describe what is expected in the input.

Keep labels simple at first and only include hint text or additional instructions if your user research shows there is a need for it.

Work with a Content Designer to create labels and any hint text needed. You can also check the GOV.UK pattern for text inputs (opens in a new tab).

Add visually hidden text

People who use assistive technologies sometimes need additional text to complete a task. The text does not appear on the screen for everyone as it is visually hidden.

For example, when checking your details there can be several ‘Change’ links. Screen readers need to tell assisted digital users what they are changing.

Example visually hidden text

The GOV.UK pattern for summary lists includes descriptions for what users are changing.

<a class="govuk-link" href="#">
  Change<span class="govuk-visually-hidden"> name</span>
</a>

If you can, work with a Content Designer to create visually hidden text. Find more advice in Content Designers and accessibility.

Images and icons

Do not add unnecessary images or visual design. Before adding any images, work with a User Researcher and a Content Designer to check if users need them.

If your users need an image or an icon to help them understand something, add a description for screen readers. This is known as 'alternative text' or 'alt text'.

Example alt text

When the Ministry of Defence logo appears on screen, use this alt text:

<img src="ministry-of-defence.svg" alt="Ministry of Defence logo">

If you can, work with a Content Designer to create alt text. Find more advice in the GOV.UK guidance on images (opens in a new tab).

Only use images that users need

Government digital services need to be simple. Do not add unnecessary images or visual design. Before adding icons and images, work with a User Researcher and a Content Designer to check if users need them.

Be careful with columns

Before using columns, consider the impact on accessibility.

If users need a sidebar, check how it works for people who are blind or use a screen magnifier. You also need to check how a sidebar appears on mobile devices.

Published November 2022

Did you find what you were looking for?