Contact Form Design: Fields, Labels, and Testing
Contact form design tips for small business websites: choose the right fields, label them clearly, and test that every message reaches your inbox.
Murad Raza
Freelance Full-Stack Developer

Good contact form design asks only for what you need to send a useful first reply. Give every field a visible label, make errors easy to fix, and confirm when a message has been sent. Then test the whole path, because a tidy form is no help if its messages never reach you.
I'm Murad Raza, a web developer who has freelanced since 2022. Read more about me and my work. The label statistics come from WebAIM, and the placeholder, hint, and required-field guidance comes from W3C. Both sources were checked on 30 November 2026. The other recommendations are practical suggestions, and the example form is hypothetical.
Key Takeaways
- Require only what you need to reply or to decide what to say.
- Put a visible label on every field. Do not use placeholder text as the label.
- Test the form from the visitor's first tap to the reply from your inbox.
Start contact form design with your first reply
A contact form is a short web form that sends a visitor's details and message to your business.
Write the reply you would like to send to a new lead, then check each field with one question: do I need this to send that reply, or to decide what to say?
- Yes: make it required.
- No, but it helps: make it optional.
- It can wait: leave it out.
For example, require the email address if you reply by email, and make the phone number optional or leave it out. If visitors choose how you reply, require only the detail for that method.
Example: trimming a garden service form
This hypothetical business replies by email and only works in certain areas. Its first draft asks for six things:
| Field | Decision | Why |
|---|---|---|
| Your name | Optional | Makes the reply friendlier, but is not essential |
| Email address | Required | This is how the business replies |
| Phone number | Leave out | The first reply is by email |
| Postcode or ZIP code | Required | Shows whether the job is in the service area |
| How can we help? | Required | Shows what the visitor needs |
| Budget | Leave out | Would not change this business's first reply |
With four fields, the business can send a useful reply: "Yes, we cover your area. Could you send a photo of the garden?"
If you sell online, read my guide to WooCommerce checkout page design.
Label every field clearly
In February 2026, WebAIM tested the top one million home pages. It found missing form input labels on 51% of pages, and 33.1% of all form inputs were not properly labeled (WebAIM Million report, 2026).
These figures cover all home page form inputs, not just contact forms. They come from automated testing, and WebAIM notes that finding no errors does not prove a page is accessible.
Use short, specific labels such as "Email address," and keep each one visible close to its field while people type, so they can check what information belongs there.
WebAIM's count looks for a label, or another accepted way to name the field, in the page's code. Text above a box may not be connected to it. Click each label as a quick check:
- Text field: the cursor should move into it.
- Dropdown: it should receive focus, so you can use it with the keyboard.
- Checkbox or radio button: it should change or be selected.
If nothing happens, ask your form provider or developer to check the label connection and the field's accessible name, which is the name a screen reader can announce. The field may still have one that this quick check cannot detect.
Use hints and required fields well
A placeholder is the pale hint inside an empty field. W3C's form guidance says placeholder text is not a replacement for labels. It disappears when someone starts typing, which makes answers harder to check before sending. W3C also says assistive technologies, such as screen readers, do not treat placeholders as labels.
The same guidance says to show which fields are required or optional and explain any data format. It also shows how to connect a hint to its field in the code. Keep hints outside the box so they stay visible. For example, put "Include your country code" between the "Phone number" label and its field.
If you use a form builder, look for settings called label, help text, field type, and required.
Make the form easy to finish on a phone
Complete the form on a real phone, then check:
- Visibility: the on-screen keyboard should not stop you from reaching a field or the button.
- Field types: use the email and phone types so mobile devices can display a suitable keyboard.
- Autofill: allow it for common details to reduce typing.
- Layout: use a single column to keep the order clear on smaller screens.
Tell visitors what happens next
Use a button that names the action, such as "Send message." Say when you normally reply, but only if you can keep to it.
Explain how you will use people's details and link to your privacy notice, so visitors can decide what to share. Provide an alternative contact method for anyone who cannot use the form. My guide to the pages a small business website needs covers the rest of the contact page.
For errors, name the field and the fix: "Enter an email address, such as name@example.com." Display it near the field and keep what the visitor typed, so they can fix the mistake without starting again. Use text as well as color, and ask your form provider or developer to make sure screen readers announce the error.
Only show a confirmation after the site accepts the message:
Thanks, your message has been sent. We will reply using the contact details you gave us.
If sending fails, explain that the message was not delivered and offer an alternative contact method.
Test that every message reaches you
A confirmation does not prove that an email reached your inbox. Run this test before launch, and after changes to your form, email, or hosting:
- Send a message from a phone and a computer, using an email address outside your business. Note the times.
- Check your inbox and spam folder.
- Reply, and make sure it goes to the visitor.
- Leave a required field empty, then enter an invalid email address. Check that both errors explain the fix.
- Use only a keyboard. Press Tab to move forward and Shift+Tab to move back. Use the arrow keys in radio groups and dropdowns, and Space or Enter for buttons. You should always be able to see which control is active.
- Use a screen reader, or ask an accessibility tester to do this. It should announce each field's name, hint, required status, and error.
- Choose the least disruptive spam protection that works for you. If people see a challenge, offer an accessible alternative. Review any blocked messages your tool keeps.
- Use a test mode or ask a developer to check a failed send. The form should keep what the visitor typed, offer another contact method, and not say "sent." Do not break your live form to test this.
If a message or reply goes missing
- Check the notification address in your form settings.
- See if the form saved the message. A saved message with no email suggests a delivery problem, but does not prove it.
- Check the From address. It should use a domain your mail service is authorized to send from, not the visitor's address, which can fail email checks. Put the visitor's address in Reply-To, so your reply goes to them.
- Give your form provider or host the test time. Ask them to check the mail logs, which record what happened to the message, and email authentication, which helps receiving services check who may send from your domain.
- Run the full test again.
If your tool saves messages, limit who can see them and how long you keep them.
Fix your current form first
Improving your existing form may be enough. Apply the first-reply question to each field, fix the labels and error messages, and then run the complete test. For a wider look at turning visitors into inquiries, read my guide to websites for cleaning companies.
If you would like help with your contact form, email me at murad@muradraza.com.
Need this fixed on your site?
I Build Websites That Work as Hard as You Do


