Website audit checklistAccessibility basics
Accessibility basics checklist: 7 checks
Accessibility means people can use the page whatever their eyesight, hearing or way of using a computer. Some of them use a screen reader, which reads the page out loud.
A machine can only check the basics, and these are the ones it can prove. Passing them is not the same as meeting an accessibility standard. Failing them means the page is harder, or impossible, for some visitors to use today.
The page says which language it is in
3 points- What we look at
- The lang attribute on the page.
- It passes when
- It is set, for example lang="en".
Check it yourself. View the page source and look at the very first <html> tag.
Why it matters
A screen reader needs to know the language to pronounce the words correctly. Browsers also use it to offer translation.
How to fix it
- Add the language to the opening html tag, for example <html lang="en">.
Images have a text description
4 points- What we look at
- Every image on the page. Tracking pixels and images hidden from screen readers are left out.
- It passes when
- Each image has an alt attribute. An empty alt, or role="presentation", is fine for decoration. An image named by aria-label or title passes too.
Check it yourself. Right-click an image, choose Inspect and look for an alt attribute.
Why it matters
People who cannot see an image hear its text description instead. Search engines read it too. An image without one is a blank to both.
How to fix it
- Add a short alt text to every image that carries meaning.
- Give purely decorative images an empty alt (alt="") so screen readers skip them.
Form fields have labels
3 points- What we look at
- Form fields people fill in. Hidden fields and spam traps are left out.
- It passes when
- Each has a label, an aria-label, aria-labelledby or a title. A placeholder alone does not count.
Check it yourself. Click the text next to a field. If the cursor jumps into the field, the label is connected.
Why it matters
A form field without a label is announced only as "edit text". The visitor cannot know whether to type a name, an email or a phone number.
How to fix it
- Give every field a visible label.
- Where the design has no room for one, add an aria-label.
- Do not rely on placeholder text alone: it vanishes when someone starts typing.
Links and buttons say what they do
3 points- What we look at
- Links and buttons people can reach. Ones hidden from screen readers and the keyboard are left out.
- It passes when
- Each has a name: text, an aria-label, a title, an image or icon with its own label, or for a button a label tied to it.
Check it yourself. Press the Tab key through the page with a screen reader switched on and listen for links with no name.
Why it matters
An icon-only button with no name is read out as just "button" or "link". A visitor using a screen reader cannot tell the menu from the search.
How to fix it
- Give icon-only links and buttons an aria-label, such as aria-label="Open menu".
- Or add text that is hidden visually but still read out.
Text is easy to read against its background
3 points- What we look at
- Google's test of the loaded page: the colour of text against its background.
- It passes when
- All text has a contrast of at least 4.5 to 1 (3 to 1 for large text).
Check it yourself. Read the page on a phone outdoors. Text you have to squint at fails.
Why it matters
Pale grey text on white may look elegant, and many people cannot read it: on a phone in sunlight, with tired eyes, or with weaker eyesight.
How to fix it
- Make the text darker or the background lighter until the contrast is at least 4.5 to 1 for normal text.
- A free contrast checker shows the number for any two colours.
Headings follow one another in order
2 points- What we look at
- Google's check of the headings on the loaded page.
- It passes when
- No heading skips a level, for example from H2 straight to H4.
Check it yourself. List the headings of the page in order. An H4 right after an H2 is a skipped level.
Why it matters
People who use a screen reader jump through a page by its headings, like a table of contents. When a level is skipped, it is harder to tell what belongs to what.
How to fix it
- Use heading levels in order: one H1, then H2 for sections, H3 inside them.
- Choose the level for the structure, and set how big it looks in the stylesheet.
Embedded maps and videos have a name
2 points- What we look at
- Every frame in the page that loads something, such as an embedded map, video, booking or review widget. Frames hidden from view are left out.
- It passes when
- Each has a name: a title, an aria-label or aria-labelledby. Not scored when the page has no frame.
Check it yourself. Right-click the map or video, choose "Inspect", and look at the <iframe> line. It should have title="..." with a few words that say what it is.
Why it matters
A map, a video or a booking box embedded in a page sits in a frame. Without a title, a screen reader announces it only as "frame", so a blind visitor cannot tell whether it holds the map to your shop or an advert.
How to fix it
- Add a title to each <iframe> that says what it shows, for example title="Map of our shop in Larnaca".
- Google Maps' embed code comes without a title, so add one when you paste it.
- YouTube's embed code has a title. Keep it when you change the code.
Find out what your website scores.
A score out of 100, the fixes that matter most, and the proof behind each one. Free, no email needed.