Interactive content

How to Design Accessible Forms: Labels, Keyboard Use, and Fixable Errors

A practical guide to reducing barriers when people complete forms: from clear questions to keyboard navigation and error correction.

Apification
Person navigating a digital form with a keyboard and visible field labels

Accessibility is about more than validating fields

Designing accessible forms means enabling people with different ways of perceiving, navigating, and entering information to understand what is being asked, complete the controls, and know how to resolve a problem. Validation helps detect missing responses or unexpected formats, but on its own it does not ensure that someone can locate a field, understand its requirements, or reach it using a keyboard.

Think of the form as a complete journey: read the question, identify the control, enter a response, review the result, and correct it if needed. WCAG provides criteria for evaluating accessibility, including identifying errors and helping people correct them. Applying some useful practices is a good step forward, but does not by itself demonstrate that a form meets all applicable criteria.

  • Practical question: Can someone understand and complete every field without relying on a single visual cue?
  • Distinguish between a functional validation rule and an experience that explains that rule clearly.
Accessibility is about more than validating fields

Before asking questions, simplify and organize the journey

Start by defining the decision or task the form should support. For each question, note why you need the answer and who will use it. If you cannot explain its purpose, consider removing it. Asking for unnecessary data lengthens the journey, increases effort, and may lead someone to abandon the form or provide information you did not need.

Group questions by topic and arrange them in an order that follows the logic of the task, not your team's internal structure. Use concise headings to separate sections, and avoid unexplained shifts in topic. If the form is long, explain the steps or the information needed at the start. Do not assume that every participant knows internal terms, abbreviations, or the organization's context.

  • Before adding a field, confirm its purpose and who needs the answer.
  • Review the journey from the perspective of someone unfamiliar with the process: what do they need to know before they begin?
Before asking questions, simplify and organize the journey

Labels and instructions that arrive in time

Every control needs a visible label that precisely describes what to enter or select. Do not use placeholder text inside a field as a substitute for its label: it can disappear when someone starts typing and may not explain the field's purpose on its own. On web forms, programmatically associating the label with the control—for example, using label, for, and id—helps assistive technologies connect the question to its field.

Explain requirements before someone needs to act. If a date must be entered in a specific format, state that beside the label or in a nearby instruction, with an understandable example. Also clarify which fields are required. A general explanation at the beginning can be useful, but people should not have to remember a distant rule when they reach each field.

  • Check that the label remains visible when someone enters a response in the field.
  • Explain formats, limits, or required documents before the relevant field.
  • Mark required fields with text or an additional cue; do not rely on color alone.

Keyboard navigation: follow and identify the focus

Test the form without a mouse. Use Tab to move forward and Shift+Tab to move backward; use Enter or other common keys to activate controls when appropriate. You should be able to reach text boxes, buttons, options, and dropdown lists, and use them without the journey being interrupted. If a control only responds to a pointer, some people will not be able to complete the task.

It is not enough for focus to exist: people navigating the form must be able to perceive which element is active. Check whether the focus indicator is visible on every control and whether the order follows a logical reading and response sequence. An unexpected jump can lead someone to submit before reviewing or skip a question. Fix the navigation order rather than asking users to adapt to a confusing sequence.

  • Go through the form forwards and backwards using a keyboard.
  • Activate each type of control and check that focus is not hidden or lost.
  • Pay particular attention to dropdown menus, submit buttons, and controls that appear after a selection.

Errors that identify the problem and make it possible to fix

A message such as “There is an error” does not explain where the problem is or what to do. Identify the affected field and describe the reason in text—for example, “The start date is not in the format shown.” If you can suggest a specific correction, do so: “Enter the date as day/month/year.” Avoid messages that blame the person, rely only on a red border, or use technical terms without explanation.

After submission, the notification should be easy to find and perceive. Test what happens to keyboard focus and how assistive technologies announce the error; ARIA live regions may be relevant in web experiences. After someone corrects a field, check that the valid response remains available and that an error in another field does not erase what has already been entered. Losing responses turns a simple correction into a repeated task.

  • Test an empty response and one with an incorrect format.
  • Confirm that the message identifies the field, explains the problem, and, when possible, says how to resolve it.
  • Check that responses without errors are preserved after submission.

Required fields, options, and conditional fields

A required-field marker needs an explained meaning. You can put “Required” beside the label or clearly define a symbol before using it; do not assume everyone interprets an asterisk in the same way. Stating that a field is optional can also prevent uncertainty. In both cases, combine text with visual cues: color alone is not enough to communicate what is missing or the state of a control.

For multiple-choice questions, write options that are distinct and do not hide a necessary choice. If a response reveals additional fields, explain the relationship—for example, “If you select Other, please specify.” Make sure the new fields have their own labels and instructions and can be reached using a keyboard. Also check what happens when someone changes or reverses a selection; an unclear conditional response can lead to contradictory data being submitted.

  • Explain the required-field symbol and pair it with a cue that does not rely on color alone.
  • Test conditional branches with every possible response, including changing a selection.
  • Check that any content that appears is added to a logical reading and focus order.

Manual testing and the limits of automated checks

An automated review can help locate some technical issues, but it does not prove that a question is understandable, that an instruction arrives in time, or that an error points to a useful solution. Complete a manual test using a keyboard, and submit the form with a field left empty or an incorrect format entered. Note which message appears, where focus goes, and whether you can identify what to do next.

When possible, also test with assistive technologies and with people who represent different ways of using the form. Observe whether the label is announced with the control, whether the required state is clear, and whether errors can be perceived without relying on sight. Record specific issues and repeat the test after each significant change. A one-time review does not cover every combination of browser, device, content, and assistive technology.

  • Complete a full pass using Tab and Shift+Tab.
  • Submit incomplete responses and responses with incorrect formats; check messages, focus, and whether data is preserved.
  • Do not use the results from an automated tool as a substitute for user testing.

A review checklist and using WCAG without promising conformance

Before publishing, review the entire form: every question has a visible, associated label; instructions appear before they are needed; required status does not depend on color alone; all controls work with a keyboard; focus is perceptible; and every error identifies the field and guides people toward a correction. Also complete a test submission to check that valid responses do not disappear when there is an error.

Use WCAG as a reference for structuring your evaluation, not as a checklist whose final box guarantees conformance. Applicable criteria depend on the form and its context, and reviewing labels, keyboard use, and errors alone leaves out other aspects of accessibility. If you use a tool to create surveys, confirm what capabilities it actually offers and test the published form. Apification lets you create structured forms with validation, access controls, and exportable responses; these capabilities do not in themselves guarantee accessibility.

  • Visible, associated labels; instructions and formats explained in time.
  • A complete keyboard journey, with visible focus on every control.
  • Text-based, specific, fixable errors; previous responses preserved.
  • Manual testing completed on the published form, without presenting a partial checklist as certification.

Frequently asked questions

Does automatic validation make a form accessible?

Not by itself. Validation can detect missing responses or invalid formats, but you also need to check that labels are understandable, controls work with a keyboard, and errors explain how to fix the problem.

How should a required field be indicated?

Use an understandable cue that does not rely on color alone. You can put text beside the label or clearly explain a symbol before using it.

Does an automated check demonstrate WCAG conformance?

No. It can detect some issues, but does not demonstrate that the complete form meets all applicable criteria. Tools need to be supplemented with manual review and user testing.

Sources and further reading

Documentation consulted while preparing this article.

Explore Apification

Related articles

Back to the blog