Accessible forms: how to make sure everyone can fill in your contact form
A form is the moment a visitor turns into an enquiry, a booking or a sale. It is also where many websites fail: fields without names, error messages that only turn red, a puzzle nobody can solve. The good news is that most of these problems are quick to fix once you know where to look.
1. The third most common problem on the web
Every year, the non-profit WebAIM at Utah State University runs an automated accessibility check on the home pages of the million most visited websites. In the February 2026 analysis, missing form labels came third, behind low contrast and missing alternative text for images:
- Low contrast text83.9 %
- Missing alternative text53.1 %
- Form field without a label51.0 %
- Empty link46.3 %
- Empty button30.6 %
Three more figures from the same analysis show why the topic is becoming more important, not less:
- The average home page has 6.9 form fields, 36 percent more than three years earlier. Search box, newsletter, cookie settings, chat: forms are everywhere now.
- 33.1 percent of these fields are not properly labelled, which is one in three.
- The share of home pages with missing labels had fallen to 45.9 percent by 2023. Since then it has been rising again, most recently from 48.2 to 51 percent.
And the bar is low. A field counts as labelled as soon as it has any technical name at all. Whether that name makes sense, whether error messages work and whether the form can be submitted with the keyboard is something an automated test cannot tell. The real number of forms with barriers is therefore higher.
2. Every field needs a name
Sighted visitors can tell from the layout that the word “Email” belongs to the field below it. A screen reader cannot. When it reaches a field, it only reads out what is linked to that field in the code. Without that link, the user hears “edit text, blank” and has to guess.
The fix is a label element connected to the field through for and id:
<!-- Not like this -->
<p>Email</p>
<input type="email" placeholder="Email">
<!-- Like this -->
<label for="mail">Email address</label>
<input type="email" id="mail" name="mail">
As a bonus, the label becomes clickable: clicking “Email address” puts the cursor in the field. For small checkboxes this is a big help to anyone who cannot hit a tiny target precisely with a finger or a shaky hand.
A placeholder is not a label
Many forms drop labels for visual reasons and put the field name inside the field as grey placeholder text. That causes several problems. The text disappears as soon as you start typing, so anyone who gets distracted for a moment no longer knows what the field is for. Placeholders are usually light grey and therefore too low in contrast. And not every browser and screen reader combination reads them out reliably. A placeholder may show an example, such as “jane@example.com”, but the label belongs above the field.
Groups, required fields and hints
- Related options such as title, payment method or “How should we contact you?” belong in a
fieldsetwith alegend. Otherwise users only hear “Phone, radio button” and do not know what the question is. - Required fields need more than a red asterisk. Explain the asterisk at the top of the form or add “(required)”, and set the
requiredattribute in the code so screen readers announce it too. - Hints like “At least 12 characters” or “Format DD/MM/YYYY” belong before the field, not only in the error message. Connected to the field with
aria-describedby, they are read out when the field gets focus. - Visible label and technical name should match. If the button says “Send enquiry”, its technical name should not be “submit-btn-2”. People using voice control say what they see.
3. Less typing: autocomplete
Nobody enjoys typing their name, address, phone number and email for the tenth time. For people with motor impairments, dyslexia or memory problems, every field is an obstacle. Browsers can fill these details in automatically if the form tells them what each field is for. That is what the autocomplete attribute does, with a fixed list of values:
<label for="fn">First name</label>
<input id="fn" autocomplete="given-name">
<label for="tel">Phone</label>
<input id="tel" type="tel" autocomplete="tel">
<label for="pc">Postcode</label>
<input id="pc" autocomplete="postal-code">
For personal details this is actually required by WCAG, and it costs one line per field. Just as important: do not block pasting. A “Repeat your email address” field that refuses pasted text forces people to retype and helps nobody.
4. Error messages that actually help
Submitting the form is where a usable form and a frustrating one part ways. Typical mistakes:
- Only a red border marks the error. People who cannot tell red from green, or cannot see at all, notice nothing.
- The top of the form says “Please check your input”, but not which field is wrong.
- The message just says “Invalid” without saying what would be valid.
- After the error, the whole form is empty.
- The confirmation “Thank you, your message has been sent” appears briefly as a pop-up and disappears without a screen reader ever announcing it.
Better: a message in words right next to the field that says what is wrong and how to fix it. In the code it is linked to the field, and the field is marked as invalid:
<label for="mail">Email address</label>
<input type="email" id="mail"
aria-invalid="true"
aria-describedby="mail-error">
<p id="mail-error">
Please enter an email address with an @,
for example jane@example.com.
</p>
On longer forms, a summary at the top that lists every error and links to each field helps too. After submitting, focus moves to it so keyboard and screen reader users find it straight away. Fields that were already filled in keep their values, of course. And messages like “Message sent” or “3 results found” are marked up as status messages, for example with role="status", so screen readers announce them without moving the focus.
One more rule: the form should not change on its own while someone is filling it in. Choosing a country from a drop-down and being sent straight to another page is disorienting. Bigger changes should only happen when someone presses a button.
5. With the keyboard all the way to “Send”
Many people use a computer without a mouse: with a keyboard, a switch or voice control. For them, every field has to be reachable with the Tab key, fillable and leavable, in a sensible order. The weak spots are almost always custom-built controls:
- stylish drop-downs that only open with a mouse click,
- date pickers for appointments where the arrow keys do nothing,
- checkboxes and toggles that are really just styled images,
- a file upload button that ignores the keyboard.
The simplest rule: use the built-in HTML elements, meaning select, input type="checkbox" and button. They come with keyboard operation and screen reader support out of the box. If you build your own, you have to rebuild and test all of that yourself.
It also has to be visible at all times where you are. A clear outline around the active field is a must, even if the design did not plan for one. The active field must not disappear behind a sticky header or a cookie banner either. And the borders of the fields themselves need enough contrast with the background for people to recognise them as fields at all.
6. Login, spam protection and time pressure
WCAG 2.2 added a few rules that mainly help people with cognitive disabilities but make life easier for everyone.
Logging in without a memory test
Under criterion 3.3.8, a login must not require people to remember something, transcribe something or solve a puzzle unless there is another way. Passwords are fine as long as password managers can fill them in and pasting works. Good alternatives are a sign-in link sent by email, or passkeys.
CAPTCHAs
Typing distorted letters is exactly that kind of puzzle and is not allowed without an alternative. Image tasks like “Select all traffic lights” are explicitly permitted at level AA, because recognising objects counts as an exception. For blind people they are still impossible, and the audio version is often hard to understand. That is why the W3C, in a dedicated publication, recommends starting with methods users never notice: a hidden field that only bots fill in (a honeypot), server-side checks, and a limit on how often a form can be submitted in a short time. For a contact form, that is usually enough.
Repeated entries and time limits
- Do not ask twice. Anything someone has already entered in the same process is carried over or offered for selection. The classic example: the “Delivery address is the same as billing address” checkbox.
- Let people extend time limits. If a session is about to expire, the page warns in advance and offers more time without losing any input.
- Let people check before they buy. For orders, contracts and payments, users must be able to review and correct their details before submitting, or undo the submission afterwards.
7. The criteria behind it
Every requirement in this article comes from WCAG 2.2. Most of them sit at levels A and AA, the level the European Accessibility Act relies on.
| Area | What is required | WCAG criterion |
|---|---|---|
| Labels | Every field has a label or instructions | 3.3.2 Labels or Instructions (A) |
| Labels | Labels and groups are linked to their fields in the code | 1.3.1 Info and Relationships (A), 4.1.2 Name, Role, Value (A) |
| Labels | The visible text is part of the technical name | 2.5.3 Label in Name (A) |
| Filling in | Fields for personal details are marked for autocomplete | 1.3.5 Identify Input Purpose (AA) |
| Filling in | Input does not trigger an unexpected change of page | 3.2.2 On Input (A) |
| Errors | Errors are described in text, not only with colour | 3.3.1 Error Identification (A), 1.4.1 Use of Color (A) |
| Errors | The message suggests a correction | 3.3.3 Error Suggestion (AA) |
| Errors | Orders and contracts can be checked, corrected or reversed | 3.3.4 Error Prevention (AA) |
| Errors | Success and status messages are announced | 4.1.3 Status Messages (AA) |
| Keyboard | Everything works with the keyboard | 2.1.1 Keyboard (A) |
| Keyboard | The active field is visible and not hidden | 2.4.7 Focus Visible (AA), 2.4.11 Focus Not Obscured (AA) |
| Vision | Field borders have a contrast of at least 3 to 1 | 1.4.11 Non-text Contrast (AA) |
| Memory | Data already entered is not requested again | 3.3.7 Redundant Entry (A) |
| Memory | Login without puzzles or memory tasks | 3.3.8 Accessible Authentication (AA) |
A note on the legal position: the European standard EN 301 549, which the European Accessibility Act and the public-sector rules rely on, refers to WCAG 2.1 in the version that currently applies. The new version V4.1.1, based on WCAG 2.2, was published on 2 September 2026; its reference in the Official Journal of the EU is still pending. Criteria 2.4.11, 3.3.7 and 3.3.8 are therefore not yet binding everywhere. If you are building a form now, implement them anyway. Who is covered by the law is explained in the article European Accessibility Act, and all criteria are listed in the WCAG 2.2 overview.
8. The ten-minute test for your form
Pick your most important form, usually the contact form or the booking form, and work through these steps:
- Click the label: click the word above each field. Does the cursor jump into the field? If not, the link in the code is missing.
- Keyboard only: put the mouse aside. Reach every field with Tab, choose options with the space bar and arrow keys, and submit with Enter. Can you always see where you are?
- Submit it empty: press “Send” without entering anything. Does every required field say in words what is missing?
- Fill it in wrongly: enter an email address without an @. Does the message say how to fix it? Is everything else you typed still there?
- Let the browser fill it in: click into the name field. Does your browser offer to fill in your name, address and email?
- Type on your phone: fill in the form on a smartphone. While typing, can you still see what the field is for, or was that only a placeholder?
- Listen: turn on VoiceOver or NVDA and tab through the form. Is every field’s name read out? How to do this is explained in the article What your website sounds like.
- Check the puzzle: is there a CAPTCHA? Could you solve it if you could not see, or could not hear?
If your form fails any of these, you know where to start. More test steps are in the article Testing accessibility, and if the form is part of a shop, see Accessible online shop.
Frequently asked questions
Is a placeholder in the field enough as a label?
No. The placeholder disappears when you type, is usually too low in contrast and is not read out everywhere. Every field needs a visible label linked to it with a label element. The placeholder can show an example in addition.
Do I have to mark required fields with an asterisk?
An asterisk is allowed but not enough on its own. Explain what it means at the top of the form, or add “required”, and set the required attribute in the code. Screen readers then announce that the field must be filled in.
Is an image CAPTCHA accessible?
At WCAG level AA, object recognition tasks are explicitly allowed, while distorted letters to transcribe are only allowed with an alternative. For blind people, image puzzles remain a barrier anyway. For contact forms, invisible methods such as a hidden honeypot field and server-side checks are usually enough.
Are WordPress form plugins accessible by default?
Not automatically. Many form plugins produce correct labels if you enter a label for every field and do not hide it. Error messages, required-field hints and spam protection, however, depend on the settings and the theme. Always check the finished form yourself with the ten-minute test.
Does the European Accessibility Act cover my contact form?
A contact form on its own does not bring a website under the European Accessibility Act. But if the form is part of a service through which consumers conclude a contract online, such as a shop or a paid booking, it is part of that service and must be accessible. The EAA check helps you find out whether your service is covered.
Sources and notes
- WebAIM, The WebAIM Million 2026, automated check of one million home pages, February 2026
- W3C Web Accessibility Initiative, Forms Tutorial
- W3C, WCAG 2.2 and Understanding 3.3.8 Accessible Authentication
- W3C, Inaccessibility of CAPTCHA
- WHATWG, HTML Standard: Autofill, list of autocomplete values
- National Disability Authority (Ireland), publication of EN 301 549 V4.1.1
- All information as of 4 December 2026.
This article is an overview and does not replace legal advice.