Designing a website people can use

A web page can look finished and still be hard for some people to read or use. Colour, headings, labels and pictures all play a part in who can use it.

Who you are designing for

GOV.UK's Service Manual says that in the UK, 1 in 5 people have a long-term impairment affecting their ability to do everyday activities. Impairments can be visual, hearing, motor or cognitive.

People also reach a page in different ways. Some use a keyboard instead of a mouse, a screen reader that speaks the content aloud, a screen magnifier or voice commands. Some change their browser settings to make text easier to read.

Colour and contrast

The GOV.UK Design System says the contrast ratio of text and interactive elements must meet WCAG 2.2 success criterion 1.4.3, Contrast (minimum), at level AA. WCAG sets that minimum at a contrast ratio of at least 4.5 to 1 for normal text. The Design System is written for government services. Other sites can use the same criterion.

Don't use colour as the only way to explain or distinguish something.

Headings and structure

The Design System asks for heading tags, such as h1 and h2, on every heading, styled consistently to give the page a clear structure. Set the content out in a logical order, so someone using a screen reader can move through it.

Forms and labels

In the Design System, all text inputs must have labels, and in most cases the label should be visible. Labels go above the box they refer to, and are short, direct and in sentence case.

Images, sound and video

GOV.UK's summary of the guidelines asks for text alternatives (alt text) for anything that is not text, captions for video and transcripts for audio and video. Avoid using images of text.

What public sector sites must meet

The accessibility regulations came into force for public sector bodies on 23 September 2018. Today GOV.UK says their websites and apps must meet the Web Content Accessibility Guidelines (WCAG) 2.2 at level AA, and publish an accessibility statement.

Those regulations cover public sector bodies. GOV.UK points every UK service provider to a different duty: making reasonable adjustments for disabled people under the Equality Act 2010, or the Disability Discrimination Act 1995 in Northern Ireland.

Useful links