Form Field Labels and Placeholders: The Decisions That Matter
An illustrative form redesign, step by step: why placeholders should never replace visible labels, where hints belong, and how to wire labels for accessibility.
On this page
- The Illustrative Project: A Rental Application That Was Losing People
- Week One: Auditing the Existing Form Field by Field
- Decision One: A Visible Label Above Every Field
- Decision Two: What Happens to Placeholder Text Now
- Decision Three: Hints and Format Examples Below the Label
- Decision Four: Connecting Labels and Hints Programmatically
- Decision Five: Marking Optional Fields Instead of Required Ones
- Decision Six: The Floating Label Debate
- Testing the Revised Form
- The Project Timeline From Brief to Delivery
- Measuring Whether the Decisions Worked
- Applying These Decisions to Your Own Forms
- Working on something like this?
Form field labels and placeholders look like the smallest decisions in interface design. A label is a word or two above a box; a placeholder is gray text inside it. Yet the way a form labels its fields decides whether people can remember what a field wants while they type, whether they can check their answers before submitting, whether they can fix an error without starting over, and whether someone using a screen reader or voice control can complete the form at all. The core rule is simple: placeholder text inside a field should not replace a visible label, because placeholder-only labels disappear as soon as people type.
This article follows one illustrative project from brief to delivery to show how that rule plays out in practice, and what the surrounding decisions look like: where hints go, how labels are connected to fields in code, how to mark optional fields, what to do about floating labels, and how to persuade stakeholders who like the minimal look of placeholder-only forms. The project is a composite example written for teaching purposes. The company, the numbers and the test sessions are illustrative, not a client story, but every decision is one that real form projects face.
It is written for product designers, front-end developers, content designers and the product managers who approve their work. If you own a form with a high error rate or you are building a form component library, the decisions below are the ones that matter most.
The Illustrative Project: A Rental Application That Was Losing People
Our illustrative client is a property management company that runs several hundred rental units across two cities. Prospective tenants apply online through a single long form: personal details, contact details, current and previous address, employment and income, move-in preferences, references and consent. The form had been built a few years earlier by a contractor who favored a very clean look. Every field was a borderless rounded box with gray text inside saying things like "Full name" or "MM/DD/YYYY." A handful of fields used floating labels that shrank into the top border when the field was focused.
The brief from the operations director was short. Applications were being abandoned partway through, the leasing team was spending time calling applicants to correct information, and two applicants had complained that they could not complete the form with assistive technology. The company wanted the form fixed without a full rebuild of the leasing platform, and it wanted a reusable set of form components so the maintenance request and lease renewal forms could be brought up to the same standard afterward.
Before any design work began, the team ran short conversations with the operations director, two leasing agents and the developer who maintained the site. The leasing agents turned out to be the richest source of information, because they were the people calling applicants to fix mistakes. The approach we used is covered in more depth in our guide to stakeholder interviews; the short version is that the people who clean up after a form know exactly which fields fail.
Week One: Auditing the Existing Form Field by Field
The audit had one question for each field: if someone has typed an answer into this field, can they still tell what the field was asking for, what format it wanted, and whether it was required? For most fields in the original form, the answer was no.
Those illustrative counts describe the kind of form many teams inherit. The audit also recorded what each problem cost the user, which is what later made the case to stakeholders.
What placeholder-only labels were doing to applicants
- Memory load. Once someone typed into "Employer name," the words "Employer name" vanished. Applicants who paused to find a document came back to a column of filled boxes with no labels, and had to guess which was which.
- Checking answers. The review step before submission showed filled fields with no labels. An applicant could not scan down to confirm that the "Monthly income" box held monthly rather than annual income, because the box no longer said which it wanted.
- Error correction. When validation failed, the error message said "Please check this field," and the field itself no longer said what it was for. Fixing it meant clearing the answer to see the placeholder again.
- Contrast. The placeholder text was light gray on white, chosen specifically so that it looked like a hint rather than an answer. That made it hard to read for many people, particularly on a phone outdoors.
- Confusion with answers. Two leasing agents reported applicants who thought fields were already filled in, because the gray text looked like prefilled data, and skipped them.
- Assistive technology. Placeholder text is not a reliable accessible name across all browser and screen reader combinations, and several fields had no programmatic label at all.
None of these observations are new. The Nielsen Norman Group has written about why placeholders in form fields are harmful, covering the same memory, checking and error-correction problems. What an audit adds is specific evidence from your own form, attached to specific fields, which is much harder for a stakeholder to dismiss than a general article.
The fields with instructions only in the placeholder
Six fields carried their only instructions inside the placeholder: date of birth ("MM/DD/YYYY"), phone ("(555) 555-0100"), Social Security number ("Numbers only, no dashes"), monthly income ("Before taxes"), move-in date ("Earliest date you could move"), and a references field ("Name, relationship, phone"). These were the fields the leasing agents called applicants about most. That was not a coincidence: the moment the applicant started typing, the instruction disappeared, exactly when they needed it.
Decision One: A Visible Label Above Every Field
The first and least negotiable decision was that every field would have a visible label that stays visible while the user types, positioned above the field. This is the single change that resolved most of the audit findings at once.
Why above rather than beside
Labels can sit above, to the left of, or inside fields. The team chose above for three reasons. First, the form was used heavily on phones, where left-aligned labels either squeeze the field or wrap awkwardly. Second, labels above fields create a single vertical scan line, so the eye moves straight down from label to field to next label. Third, labels above leave room for long labels and translations without redesigning the layout. The GOV.UK Design System's text input guidance takes the same approach, with the label above the field and hint text between the label and the input, and its patterns are a useful reference because they are tested with a very wide public audience.
Keeping labels short, specific and close
Each label was rewritten to be short and specific. "Name" became "Full legal name" because the leasing team needed the name as it would appear on the lease. "Income" became "Monthly income before taxes." "Previous address" became "Previous address (if at current address less than 2 years)" in the first draft, and then, after testing, the conditional part moved into a question that revealed the field only when needed.
The spacing between each label and its field was tightened so that the label sat visibly closer to its own field than to the field above. A label that floats midway between two inputs is ambiguous; proximity is how people know which label belongs to which box. The team set a rule for the component library: the gap between a label and its field must be clearly smaller than the gap between one field group and the next.
Decision: Visible labels above every field, never replaced by placeholder text.
- Labels stay visible before, during and after input.
- Labels are short, specific and written in the words applicants use, not internal database names.
- Each label sits closer to its own field than to any other element.
Decision Two: What Happens to Placeholder Text Now
Once every field had a label, the team had to decide what, if anything, should remain inside the fields. There were three options on the table: remove placeholders entirely, keep placeholders as example data, or keep them as a duplicate of the label for visual continuity.
Duplicating the label inside the field was rejected quickly. It adds visual noise and makes empty fields look filled, which was one of the original problems. Example data inside the field was debated at length. The argument for it is that "e.g. 2 Maple Street" shows the expected shape of an answer. The argument against is that it still disappears on input, it is still low contrast, and it still looks like a prefilled answer to some people. The team decided to remove placeholders from the application entirely and move every useful example into hint text outside the field.
Trap avoided: Keeping format instructions in the placeholder "because the label is there now." A label says what the field is; a format instruction says how to fill it in. If the instruction lives in the placeholder, it still vanishes the moment someone starts typing, which is exactly when they need it.
- Do not put formats, character limits or rules only in placeholder text.
- Do not use placeholder text as the only indication that a field is optional.
- Do not use light gray text for anything the user must read to succeed.
There is a small, legitimate role for placeholder text in some interfaces, such as a search box with an obvious purpose, where a visible label or an accessible name is still provided. The team wrote that exception into the component documentation so that nobody would read the rule as "placeholders are banned everywhere," and also so nobody would use the exception to reintroduce placeholder-only labels on data entry forms.
Decision Three: Hints and Format Examples Below the Label
Every instruction that had lived in a placeholder needed a new home. The team followed a consistent pattern: label first, then hint text directly below the label, then the field. Hint text is visible at all times, readable at normal contrast, and connected to the field in code so that screen readers announce it along with the label.
The table below shows how the six fields with placeholder-only instructions were rewritten. Field names and hint wording are from the illustrative project.
| Field | Original placeholder | New visible label | New hint text below the label |
|---|---|---|---|
| Date of birth | MM/DD/YYYY | Date of birth | For example, 03 27 1990 (split into month, day and year fields) |
| Phone | (555) 555-0100 | Mobile phone number | We will text you about viewing times and your application status |
| Social Security number | Numbers only, no dashes | Social Security number | 9 digits. You can include spaces or dashes; we remove them for you. |
| Monthly income | Before taxes | Monthly income before taxes | Include all household income you want considered, in US dollars |
| Move-in date | Earliest date you could move | Earliest move-in date | We will match you with units available on or after this date |
| References | Name, relationship, phone | Split into three labeled fields per reference | A reference can be a previous landlord, employer or teacher, but not a relative |
Two decisions hidden in that table
First, the Social Security number hint changed a rule rather than just moving it. The original form rejected dashes and told people not to type them. The new form accepts spaces and dashes and strips them on the server. When an instruction exists only to work around a strict validator, it is usually better to fix the validator. This is a pattern worth looking for in any form: each hint should be checked to see whether the system could simply accept more input formats.
Second, the date of birth field was split into three separate inputs for month, day and year, each with its own small label, grouped under a single question. For a memorable date such as a birthday, typing is faster and more accurate than choosing from a calendar widget, and separate fields remove ambiguity about order and separators. Future dates, like the move-in date, raised different trade-offs; our article on date picker design covers when a calendar helps and when it gets in the way.
Writing hint text that earns its place
The team set three tests for any hint. Does it prevent a known error? Does it answer a question applicants actually ask? Does it explain why sensitive data is needed? If a hint passed none of these, it was cut. Hints that repeat the label ("Enter your email address" under "Email address") add reading time without helping anyone. The finished form had hints on 11 of its fields in this illustrative project, not on all of them, and that restraint made the remaining hints more likely to be read.
Decision Four: Connecting Labels and Hints Programmatically
A visible label only helps a screen reader user if it is connected to its field in code. The audit had found fields where a label sat visually above an input but was just a paragraph of text, with no programmatic link. A sighted mouse user would never notice. A screen reader user tabbing into the field would hear "edit text, blank" with no idea what to type.
The W3C Web Accessibility Initiative's tutorial on labeling controls sets out the approach the team followed. In practice, the component library enforced these rules:
- Every input has a label element. The label's for attribute matches the input's id, so clicking the label focuses the field and assistive technology announces the label as the field's name.
- Hints are linked with aria-describedby. The hint paragraph has its own id, and the input's aria-describedby attribute references it, so the hint is announced after the label.
- Errors are linked the same way. When validation fails, the error message's id is added to aria-describedby alongside the hint, so users hear the label, the error and the hint together.
- Groups use fieldset and legend. Radio buttons, checkboxes and the three-part date of birth sit inside a fieldset whose legend asks the question, such as "Do you have pets?" Each option then has its own label.
- The visible label and the accessible name match. Voice control users say what they see ("click Monthly income before taxes"), so the accessible name must contain the visible label text, starting with it where possible.
- Autocomplete attributes are set. Name, email, phone and address fields carry the correct autocomplete values, which helps browsers and password managers fill them and helps people with memory or motor impairments.
Decision: The component, not the page author, owns the connections. In the new library, a text input component cannot be rendered without a label prop, and passing a hint or error automatically generates the ids and the aria-describedby value. Developers building the maintenance request form later could not accidentally ship an unlabeled field, because the component would not allow it.
That component-level guarantee matters more than any single form fix. Forms degrade over time as fields are added by different people in a hurry. A library that makes the correct pattern the only easy pattern keeps the next form from repeating the old mistakes. Our guide to getting inclusive form fields right goes further into states, sizes and error handling at the component level.
Decision Five: Marking Optional Fields Instead of Required Ones
The original form marked required fields with a red asterisk and gave no key explaining it. Twenty-seven of the 31 illustrative fields were required, so the form was a column of asterisks, which conveyed almost nothing. The leasing team also discovered, when asked, that several "required" fields were not truly needed to process an application.
The team did two things. First, it challenged every field. For each one, the question was: what happens to the application if this is blank? If the answer was "nothing," the field was either removed or made optional. Middle name, a second phone number and a free-text "Tell us about yourself" box all became optional or disappeared. The "How did you hear about us?" question moved to the confirmation page, after submission, where answering it could not cost an application.
Second, because most remaining fields were required, the form marked only the optional ones, with the word "(optional)" in the label text itself. A word is clearer than a symbol, it is read by screen readers without extra markup, and it does not depend on color. The form's opening line told applicants that all fields were required unless marked optional.
Trap avoided: Relying on an asterisk and red color alone to show which fields are required. A symbol with no explanation is ambiguous, color alone is not perceivable by everyone, and when nearly every field is required the marker stops carrying information. Where most fields are required, mark the exceptions in words.
Removing fields turned out to be the largest single reduction in effort for applicants in this illustrative project. The final application had 22 fields instead of 31, several of which only appeared when relevant, such as previous address. That also shortened the form enough that the team reconsidered its structure; the choices involved in splitting a long form into steps are covered in our practical guide to multi-step forms.
Decision Six: The Floating Label Debate
The most contested decision was about floating labels. The marketing lead liked them. They look modern, they save vertical space, and they appeared in the design systems of several well-known products. A floating label starts inside the field, looking like a placeholder, and animates up into the top border when the field receives focus or has content.
The team took the argument seriously rather than dismissing it. Floating labels do solve the biggest placeholder problem, because the label stays visible after input. The problems in the audit were with how they were implemented and with side effects of the pattern itself:
- The floated label shrank to a very small size and sat in light gray, so after input it was hard to read, which recreated the contrast problem.
- Before focus, the label inside the field looked like a placeholder or prefilled content, recreating the confusion about empty versus filled fields.
- There was no room for hint text inside the field, so the hints had to go below the field, where people often read them only after making the mistake.
- The animation drew attention away from the answer being typed, and in one browser the label overlapped autofilled values.
- Long labels and translated labels were truncated to fit the border.
The team built two prototypes at similar fidelity, one with labels above fields and one with a well-implemented floating label that kept its size and contrast readable. Matching the fidelity mattered because a polished prototype tends to be rated higher than a rough one regardless of the pattern; our article on prototype fidelity for testing explains why that comparison needs to be fair. Both versions were used in the testing round described below. Labels above fields performed at least as well in every task observed and did not have the overlap and truncation issues, so the team chose them for the library. The marketing lead's concern about vertical space was addressed by tightening spacing and removing unnecessary fields, which saved more space than floating labels would have.
Testing the Revised Form
The team tested an interactive prototype with a small number of participants in two rounds. In this illustrative project, the first round included six participants recruited to resemble real applicants, including two who used screen readers and one who used voice control. The second round, after changes, included five.
What the tasks were designed to reveal
Participants completed the application using realistic but fictional details provided on a card, including a planted complication: their income was given as an annual figure, and they had lived at their current address for eighteen months, which should trigger the previous address question. Facilitators then asked each participant to go back and change their phone number and their move-in date. These tasks tested exactly the points the audit had identified: remembering what a field wanted, understanding format expectations, checking answers and correcting errors.
What changed after round one
- One participant entered annual income despite the label, because the hint appeared below the field in the first prototype. Moving the hint above the field, directly under the label, resolved it in round two.
- The conditional previous address question was misunderstood when phrased as "Have you lived at your current address for less than 2 years?" The double reading of "less than" caused hesitation. It was rewritten as "When did you move to your current address?" with the previous address fields appearing automatically for recent dates.
- A screen reader participant could not tell that the three date of birth inputs belonged together until the fieldset legend was added. The legend then gave the group a clear name.
- The voice control participant could not activate the "Continue" button because its accessible name was "Next step." The visible text and accessible name were aligned.
Testing a handful of participants cannot produce reliable percentages, and the team did not try to report any. What it produced was a clear list of problems and a confident choice between design options. Our article on turning research into decisions covers how to record findings like these so they lead to changes rather than a report nobody reads.
The Project Timeline From Brief to Delivery
The illustrative project ran for eight weeks from the first stakeholder conversation to the release of the new component library, with a follow-up review a month after launch.
- Week 1 Stakeholder conversations with operations, leasing and development; field-by-field audit of the existing application; list of fields the leasing team calls applicants about most.
- Week 2 Field challenge session to remove or make optional unnecessary fields; first rewrite of labels and hints; draft component rules for labels, hints, errors and groups.
- Week 3 Two prototypes built at similar fidelity: labels above fields and floating labels; recruitment for testing, including assistive technology users.
- Week 4 Testing round one; synthesis of findings; decision on label pattern and hint placement.
- Week 5 Revised prototype; testing round two; final content review with the leasing team.
- Weeks 6 and 7 Build of the form component library with enforced labels and automatic aria-describedby wiring; accessibility review with keyboard, screen reader and voice control.
- Week 8 Release of the new application form; baseline metrics captured for comparison.
- Four weeks after launch Review of field-level errors, abandonment points and leasing team correction calls; plan to migrate the maintenance request and renewal forms.
Measuring Whether the Decisions Worked
A form project should be judged by whether people can complete the form accurately, not by whether it looks cleaner. The team agreed the measures before launch so that nobody could pick favorable ones afterward.
What was tracked
- Field-level validation errors. The number of times each field failed validation, per 100 submitted applications. This shows exactly which fields still confuse people.
- Abandonment by step. Where applicants who started the form stopped, measured by the last field or step completed.
- Correction calls from the leasing team. A simple tally kept by leasing agents of calls made to fix application data, grouped by field.
- Completion time. The median time from starting to submitting, interpreted cautiously because a longer time can mean more careful answers.
- Accessibility defects. Issues found in periodic manual checks with assistive technology, logged against the component rather than the page where possible.
A worked example of reading the numbers
Here is an illustrative calculation of the kind the team used, with assumed figures rather than reported results. Suppose that before the change, the monthly income field failed validation or needed a correction call on 18 out of every 100 applications, mostly because people entered annual income or included text such as "about 4k." After the change, with a specific label, a hint and a numeric field that accepts commas and a dollar sign, suppose it drops to 5 per 100. If the company receives around 400 applications a month, that is about 52 fewer problem entries on one field each month (72 minus 20). If each correction call takes a leasing agent around ten minutes including follow-up, that is roughly eight to nine hours of staff time a month recovered from one field alone. The point of the example is the method: measure per field, convert errors into time and abandoned applications, and use the result to decide which fields to improve next.
If your own form has a long tail of fields that still fail, the next step is often a look at the fields with the most complex real-world variation. Names and addresses are the classic case, and our guide to name and address fields for global users covers why a single rigid pattern rarely fits everyone.
Applying These Decisions to Your Own Forms
The illustrative project is specific, but the decisions carry over to almost any form: sign-up, checkout, booking, insurance quotes, internal tools. Here is the short version of what the team decided, and why, in an order you can follow on your own form.
- Audit every field against one question. After someone types into it, can they still tell what it asked for, what format it wanted, and whether it was required? Record each failure against the field.
- Challenge every field's existence. Remove anything the business does not need to process the request, and move nice-to-have questions after submission.
- Give every field a visible label above it. Short, specific, in the user's words, placed closer to its own field than to anything else.
- Move all instructions out of placeholders. Put hints and format examples below the label and above the field, at normal contrast, and cut hints that only repeat the label.
- Relax validators before writing instructions. If a hint exists only to work around a strict rule, accept more formats instead.
- Connect everything in code. Label elements for every input, aria-describedby for hints and errors, fieldset and legend for groups, matching visible and accessible names, correct autocomplete values.
- Mark optional fields in words when most fields are required. Avoid relying on symbols and color alone.
- Be cautious with floating labels. If you use them, keep the floated label at a readable size and contrast, leave room for hints, and test them against labels above fields.
- Test with the people most affected. Include assistive technology users and realistic tasks that involve checking and correcting answers.
- Measure per field after launch. Errors, abandonment and correction effort, compared against a baseline captured before the change.
For long forms, the labeling decisions interact with others. If people need to leave and come back, labels and hints must still make sense when a partly completed form reloads; our article on saving progress in long forms covers that side of the problem.
When to bring in help
Most teams can fix labels and placeholders on a single form themselves using the steps above. It is worth bringing in help when a form has high error rates that persist after the obvious fixes, when forms are central to revenue and every abandoned submission is costly, or when you are designing a form component library that many teams will build on. A library is where these decisions compound: getting labels, hints, errors and groups right once, and enforcing them in the components, prevents the same problems appearing in every new form. If that is where you are, our UI and UX design services include form audits, usability testing and component library design.
The lesson of the illustrative project is that form field labels and placeholders are not a matter of style. A visible label that stays put, hint text that stays readable, and code that connects them to the field are what let people fill in a form correctly the first time, check what they entered, and fix mistakes without guessing. Everything else in form design builds on that foundation.
Where this comes from
- Nielsen Norman Group — Placeholders in form fields are harmful
- GOV.UK Design System — Text input
- W3C Web Accessibility Initiative — Labeling controls
The figures and practices above come from the sources listed.
Working on something like this?
We take on UI & UX Design work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.
Where to go next
Spotted something wrong? Report an error on this page. We correct on the page and say what changed.