UK web hosting · 24/7 live chat Black Friday + Cyber Monday: hosting + free domain £19.99 Open a ticket Client login

Guide

How to make website forms accessible

By Limitless Hosting · 5 min read · Updated 18 November 2026

An accessible form gives every field a visible label, groups related fields, shows clear error messages in text and works fully from a keyboard. Forms are where visitors turn into customers, so a field that a screen reader cannot name, or an error that appears only in red, can cost you real enquiries. Most fixes are small.

See the plans

The basics

Why forms cause so many problems

A form looks simple, but it asks a lot of the person using it. They have to know what each field wants, type the right thing in the right format, and understand what went wrong if they make a mistake. For someone using a screen reader, voice control or only a keyboard, any gap becomes a barrier.

The most common failure is a field with no proper label. A grey hint inside the box, called a placeholder, is not a label: it disappears when you start typing and is often too faint to read. Screen readers may not announce it either.

The second most common is an error message that says only "invalid" or that shows as a red border and nothing else. A visitor who is blind or colour-blind may never know a mistake happened.

What to get right

Six rules for accessible forms

A visible label for every field

Put the label above or beside the field and connect them in the code, so clicking the label focuses the field.

Say what is required

Mark required fields in text, such as "(required)", not only with a red asterisk.

Write helpful errors

Say what went wrong and how to fix it, for example "Enter your email address, like name@example.co.uk".

Make it keyboard friendly

Tab should move through fields in a sensible order, and Enter should submit the form.

Show focus clearly

The field you are in should have a visible outline, so keyboard users never lose their place.

Help with autofill

Mark fields such as name, email and address so browsers can fill them in, which helps many people.

Before and after

Common form problems and their fixes

ProblemWhy it hurtsFix
Placeholder text used as the only labelIt vanishes when typing and may not be read aloudAdd a real label above the field
Error shown only by a red borderColour-blind and blind visitors miss itAdd an error message in text, with an icon
A generic message: "Invalid input"It does not say what to changeName the field and explain the format
A CAPTCHA with only an image puzzleBlind visitors cannot solve itUse an accessible alternative, or a hidden spam trap
A form that times out quicklySlower typists lose their workRemove the timeout or warn and extend

In practice

Forms in WordPress and other builders

Most form plugins for WordPress produce labelled fields by default, but themes and settings can change that. Check that the option to show labels is switched on, and avoid settings that hide labels and use placeholders only.

Test your form the way your visitors will. Fill it in using only the Tab key and Enter, deliberately make a mistake, and see what the error looks like and where it appears. Our guide to adding a contact form to your website shows how to set one up, and the WCAG guide shows how to test with a screen reader.

Do not forget privacy. A form that collects personal details needs a short note saying how you use them, and a link to your privacy notice. See our guide to UK GDPR for website owners.

Worked example

A worked example: improving a contact form

Picture a simple contact form on a tradesperson's website. It has three fields: name, email and message. Each has a grey placeholder inside it and no label. The send button is a pale blue with white text, and when something is wrong, the field border turns red.

A visitor using a screen reader hears "edit text, edit text, edit text", with no idea what each field is for. A colour-blind visitor never notices the red border. A visitor with low vision cannot read the pale button.

Here is the improved version. Each field has a visible label above it: Your name, Your email address and Your message. The email label adds a hint, "for example name@example.co.uk". All three are marked "(required)". The button has a darker background that passes contrast, and says "Send message".

When the email is missing the @ sign, an error message appears above the form and next to the field: "Enter your email address in the format name@example.co.uk". The field has an icon and a bold border as well as the colour. Focus moves to the first problem so a keyboard or screen reader user lands right on it. The visitor can fix it and send in seconds.

Checkout and sign-up

Forms where the stakes are higher

Checkout and sign-up forms deserve extra care because a failure there loses a sale or a customer. Keep them short, ask only for what you need, and let people review before they commit. Do not force an account just to buy.

Group related fields, such as the parts of an address, so a screen reader can announce the group. Allow browsers to autofill, which helps people with motor difficulties or memory problems. Make sure payment pages work from the keyboard and that any security checks have an accessible alternative.

Tell people clearly what happens next. A confirmation message after sending, shown in text, reassures a visitor that the form worked. If you send an email confirmation, include your contact details in it. For stored personal data, link to your privacy notice next to the submit button.

Before you publish

A form checklist

  • Every field has a visible label connected to it
  • Required fields are marked in words, not only with a colour
  • Hints, such as the format of a date, appear before the field
  • Error messages say what went wrong and how to fix it
  • Errors are shown in text with an icon, not by colour alone
  • Focus moves to the first error after a failed submit
  • The whole form works with Tab, Enter and Space
  • The submit button has a clear name and enough contrast
  • Any spam check has an accessible alternative
  • A confirmation message appears after a successful send

Getting help

When to ask for an expert review

For a simple contact form, the checklist above is usually enough. If your site takes bookings, payments or applications, a specialist review is worth the money, because the forms are the heart of the business and the rules get more detailed with custom controls such as date pickers and multi-step wizards.

Whoever builds your forms, ask them to show you the keyboard and screen reader behaviour before sign-off, not only the visual design. A short test with someone who uses assistive technology every day finds problems an automated checker cannot.

A fast, secure home for an accessible site

UK servers in London, free SSL and live chat open 24/7 on every plan, from 84p a month (£10.03 billed yearly).

See the plans

FAQ

Common questions

Is placeholder text enough as a label?

No. It disappears when the visitor starts typing and may not be announced by a screen reader. Use a real label.

How should I show errors?

In text near the field, saying what went wrong and how to fix it, and not by colour alone.

Are CAPTCHAs accessible?

Image puzzles are not. Use an accessible option or a hidden spam trap instead.

Do I need to test with a screen reader?

It is the best test, but start with the keyboard: if you can fill in and submit the form with Tab and Enter, you have caught many problems.

Does this apply to checkout forms?

Yes, and they matter most. A problem at checkout loses a sale.

Put your forms on fast, secure UK hosting

Free SSL and live chat on every plan, with a 15-day money-back guarantee.

See the plans .co.uk and .uk domains £9.99

From 84p a month, billed yearly
15-day money back
Get started