Entering a date
Some dates people know by heart and others they have to choose, and one control rarely suits both.
The answer
Let people type a date they know. Show a calendar only when they are choosing one, and still let them type. As strong as the weakest rule behind it: moderate.
-
For a date people already know, let them type it. Never make a calendar the only way in.
A controlled study (n=172) found the calendar slow and by far the most error-prone, and typing fastest; a small phone study with older adults (n=30) found typing faster than picking from lists with equal accuracy; GOV.UK, USWDS, NN/g, Carbon and React Aria agree. Skeptical pass: the main study used a copying task on desktop in 2011, and one large working paper found calendars fastest, but only for near dates, which is rule 13's case. Held at 4. Two further studies pointing the same way were read only as abstracts and do not count toward the rating.
- Applies when
- The person knows the value exactly.
- Based on
- Research
- Depends on
- How well they know the value
- Principle
- Let practiced people go faster
- Common mistake
- A calendar as the only way to enter a birth date. In the largest controlled comparison the calendar produced about 18% wrong dates against 2 to 3% for every other design (Bargas-Avila, 2011).
- ExperimentsExperiment: Working towards usable forms on the World Wide Web: optimizing date entry input fieldsBargas-Avila, 2011
- Experiment: Mobile survey design research, experiment 16: date entry methodFalcone, 2023
- User researchUser research: Memorable date (USWDS component)U.S. Web Design System
- GuidanceGuidance: Date input (GOV.UK Design System component)GOV.UK Design System team
- Guidance: Date-Input Form Fields: UX Design GuidelinesAngie Li, 2017
- Guidance: Carbon Design System date picker usageIBM Carbon Design System
- Guidance: Date and Time Pickers for All (React Aria blog)Adobe
-
Offer a calendar when people are choosing a date near today, when the weekday matters, or when they need to compare dates.
One large experiment (n=1,000, working paper, peer review not stated) fits the case, and practitioner guidance agrees. Rated 3 until it is replicated.
- Applies when
- The person is choosing the value, such as a booking date.
- Based on
- Research
- Depends on
- How well they know the value
- Principle
- Recognition over recall
- ExperimentExperiment: Differences in usability between three date-entry designsRivas, 2026
- User researchUser research: Date picker (USWDS component)U.S. Web Design System
- GuidanceGuidance: Ask users for dates (GOV.UK Design System pattern)GOV.UK Design System team
- Guidance: Date-Input Form Fields: UX Design GuidelinesAngie Li, 2017
- Guidance: Carbon Design System date picker usageIBM Carbon Design System
-
Always keep a typed field next to any calendar.
Convention across design systems and the ARIA practices guide, without research. Rated 3.
- Applies when
- A calendar is offered.
- Based on
- Convention
- Principle
- Keep people in control
- User researchUser research: Date picker (USWDS component)U.S. Web Design System
- StandardStandard: Date Picker Dialog Example (ARIA Authoring Practices Guide)W3C WAI ARIA Practices
- GuidanceGuidance: Ask users for dates (GOV.UK Design System pattern)GOV.UK Design System team
- Guidance: Carbon Design System date picker usageIBM Carbon Design System
- Guidance: Atlassian Design System date time picker usageAtlassian
- Guidance: React Aria Components DatePicker documentationAdobe
- Guidance: Date-Input Form Fields: UX Design GuidelinesAngie Li, 2017
The other rules
In every case
-
Give the date fields one label saying which date you want, and name each part.
Required by WCAG 2.2 at level A or AA. All reopened and checked. WCAG's own list of birth date tokens could not be fetched; the HTML standard's token table was read directly and GOV.UK names the same tokens.
- Applies when
- The date is entered in more than one field.
- Based on
- Standard or law
- Principle
- Work for everyone
- StandardStandard: Understanding SC 3.3.2 Labels or InstructionsW3C WAI
-
Before people type, show the date format in text outside the field.
One controlled study (n=166) found a stated format rule cut errors sharply; survey experiments found format labels changed what people typed; WCAG lists it as an instruction technique. Skeptical pass: Baymard reports most checkout testers ignored format examples, which argues for rule 6 as well, not against stating the format. Held at 4.
- Applies when
- The date is typed.
- Based on
- Research
- Principle
- Prevent errors
- Common mistake
- A hint inside the field that stays until overwritten. Rated least comfortable, and it did not cut format errors (Bargas-Avila, 2011).
- ExperimentsExperiment: Enhancing online forms: use format specifications for fields with format restrictions to help respondentsBargas-Avila, 2011
- Experiment: Working towards usable forms on the World Wide Web: optimizing date entry input fieldsBargas-Avila, 2011
- Experiment: Designing input fields for non-narrative open-ended responses in web surveysCouper, 2011
- StandardStandard: Understanding SC 3.3.2 Labels or InstructionsW3C WAI
- GuidanceGuidance: Carbon Design System date picker usageIBM Carbon Design System
When people know the date
-
Mark birth-date fields with the right autocomplete tokens so browsers can fill them.
Required by WCAG 2.2 at level A or AA. All reopened and checked. WCAG's own list of birth date tokens could not be fetched; the HTML standard's token table was read directly and GOV.UK names the same tokens.
- Applies when
- The date is the birth date of the person filling in the form.
- Based on
- Standard or law
- Depends on
- Whose details they enter
- Principle
- Let practiced people go faster
- StandardStandard: HTML Standard, autofill field names for telephone numbersWHATWG
- GuidanceGuidance: wcag22-1.3.5
- Guidance: Date input (GOV.UK Design System component)GOV.UK Design System team
-
Use separate fields for day, month and year, not one free-text box.
A large survey experiment found three boxes gave 96% well-formed birth dates against 83 to 91% for one box; the controlled lab study found no difference in format errors and one box slightly faster. Government systems all use separate fields. Mixed research plus convention: 3.
- Applies when
- The person knows the value exactly.
- Based on
- Research
- Depends on
- How well they know the value
- Principle
- Prevent errors
- ExperimentsExperiment: Designing input fields for non-narrative open-ended responses in web surveysCouper, 2011
- Experiment: Working towards usable forms on the World Wide Web: optimizing date entry input fieldsBargas-Avila, 2011
- User researchUser research: Memorable date (USWDS component)U.S. Web Design System
- User research: Asking for a date of birthJoe Lanman, 2013
- GuidanceGuidance: Date input (GOV.UK Design System component)GOV.UK Design System team
- Guidance: Atlassian Design System date time picker examplesAtlassian
-
Accept common variations, such as 3 or 03, a month name or number, and any separator.
Consistent practitioner sources with some testing behind them, none with published samples. Rated 3.
- Applies when
- The date is typed.
- Based on
- Practitioner research
- Principle
- Prevent errors
- User researchUser research: How to Format Expiration Date FieldsBaymard Institute
- User research: Asking for a date of birthJoe Lanman, 2013
- GuidanceGuidance: Date input (GOV.UK Design System component)GOV.UK Design System team
- Guidance: Date-Input Form Fields: UX Design GuidelinesAngie Li, 2017
-
Don’t jump focus from one date field to the next on its own.
GOV.UK and USWDS forbid it; WCAG allows it only with prior notice; React Aria advances between segments of a single control. Rated 3.
- Applies when
- The date is entered in more than one field.
- Based on
- Convention
- Principle
- Keep people in control
- User researchUser research: Memorable date (USWDS component)U.S. Web Design System
- StandardStandard: Understanding SC 3.2.2 On Input (Level A)W3C WAI
- GuidanceGuidance: Date input (GOV.UK Design System component)GOV.UK Design System team
- Guidance: Date and Time Pickers for All (React Aria blog)Adobe
-
Use text fields that bring up a number pad, not number-type fields.
Consistent practitioner sources with some testing behind them, none with published samples. Rated 3.
- Applies when
- The date is typed.
- Based on
- Practitioner research
- Principle
- Let practiced people go faster
- User researchUser research: Memorable date (USWDS component)U.S. Web Design System
- GuidanceGuidance: Why the GOV.UK Design System team changed the input type for numbersGOV.UK Design System team, 2020
- Guidance: Date input (GOV.UK Design System component)GOV.UK Design System team
-
Don’t use drop-down lists for day and year.
Research conflicts. Lists were slower in three studies but produced the most well-formed dates in two. Rated 2.
- Applies when
- The person knows the value exactly.
- Based on
- Research
- Depends on
- How well they know the value
- Principle
- Let practiced people go faster
- Common mistake
- A long year list for birth dates. Slow, and hard to scroll for some people (Joe Lanman, 2013).
- ExperimentsExperiment: Working towards usable forms on the World Wide Web: optimizing date entry input fieldsBargas-Avila, 2011
- Experiment: Mobile survey design research, experiment 16: date entry methodFalcone, 2023
- Experiment: Designing input fields for non-narrative open-ended responses in web surveysCouper, 2011
- Experiment: A comparison of date selection elements on mobile touch devices in eCommerce sitesRomikaityte, 2022
- User researchUser research: Asking for a date of birthJoe Lanman, 2013
- User research: Memorable date (USWDS component)U.S. Web Design System
- GuidanceGuidance: Date-Input Form Fields: UX Design GuidelinesAngie Li, 2017
-
When a date is wrong, show one message and highlight only the wrong part.
GOV.UK guidance and reports from individual service teams. Rated 2.
- Applies when
- The date is entered in more than one field.
- Based on
- Practitioner research
- Principle
- Help people recover from errors
- GuidanceGuidance: Date input (GOV.UK Design System component)GOV.UK Design System team
- Guidance: Carbon Design System date picker usageIBM Carbon Design System
-
Let people type the month, as a name or a number.
Evidence points both ways. Rated 1.
- Applies when
- The person knows the value exactly.
- Based on
- Practitioner research
- Depends on
- How well they know the value
- Principle
- Let practiced people go faster
- ExperimentExperiment: Mobile survey design research, experiment 16: date entry methodFalcone, 2023
- User researchUser research: Memorable date (USWDS component)U.S. Web Design System
- GuidanceGuidance: Date input (GOV.UK Design System component)GOV.UK Design System team
When it’s printed on a document they have
-
Accept common variations, such as 3 or 03, a month name or number, and any separator.
Consistent practitioner sources with some testing behind them, none with published samples. Rated 3.
- Applies when
- The date is typed.
- Based on
- Practitioner research
- Principle
- Prevent errors
- User researchUser research: How to Format Expiration Date FieldsBaymard Institute
- User research: Asking for a date of birthJoe Lanman, 2013
- GuidanceGuidance: Date input (GOV.UK Design System component)GOV.UK Design System team
- Guidance: Date-Input Form Fields: UX Design GuidelinesAngie Li, 2017
-
Match the order and format printed on the document.
Consistent practitioner sources with some testing behind them, none with published samples. Rated 3.
- Applies when
- The value is printed on a document the person has.
- Based on
- Practitioner research
- Depends on
- How well they know the value
- Principle
- Make controls match their effects
- User researchUser research: How to Format Expiration Date FieldsBaymard Institute
- GuidanceGuidance: Ask users for dates (GOV.UK Design System pattern)GOV.UK Design System team
When they know it only roughly
-
Let people give only the parts they know.
GOV.UK guidance and reports from individual service teams. Rated 2.
- Applies when
- The person knows the value only roughly.
- Based on
- Practitioner research
- Depends on
- How well they know the value
- Principle
- Keep people in control
- User researchUser research: Choosing a date, we want to know your use cases (discussionGOV.UK Design System GitHub community, 2024
- GuidanceGuidance: Ask users for dates (GOV.UK Design System pattern)GOV.UK Design System team
- Guidance: Carbon Design System date picker usageIBM Carbon Design System
When they’re choosing a date
-
Make the calendar fully usable from the keyboard.
Required by WCAG 2.2 at level A or AA. All reopened and checked. WCAG's own list of birth date tokens could not be fetched; the HTML standard's token table was read directly and GOV.UK names the same tokens.
- Applies when
- A calendar is offered.
- Based on
- Standard or law
- Principle
- Work for everyone
- StandardStandard: Understanding SC 2.1.1 Keyboard (Level A)W3C WAI
-
Picking a date must not submit the form or change the page.
Required by WCAG 2.2 at level A or AA. All reopened and checked. WCAG's own list of birth date tokens could not be fetched; the HTML standard's token table was read directly and GOV.UK names the same tokens.
- Applies when
- A calendar is offered.
- Based on
- Standard or law
- Principle
- Keep people in control
- User researchUser research: Date picker (USWDS component)U.S. Web Design System
- StandardStandard: Understanding SC 3.2.2 On Input (Level A)W3C WAI
-
In a calendar, arrows move by day and week, Page Up and Down move by month, Escape closes it, and focus returns to the button that opened it.
Convention across design systems and the ARIA practices guide, without research. Rated 3.
- Applies when
- A calendar is offered.
- Based on
- Convention
- Principle
- Be consistent
- User researchUser research: Date picker (USWDS component)U.S. Web Design System
- StandardStandard: Date Picker Dialog Example (ARIA Authoring Practices Guide)W3C WAI ARIA Practices
- GuidanceGuidance: Carbon Design System date picker usageIBM Carbon Design System
- Guidance: MUI X Date Pickers accessibilityMUI
-
Apply the calendar’s limits to typed dates too, and say why a date isn’t allowed.
Convention across design systems and the ARIA practices guide, without research. Rated 3.
- Applies when
- Some dates are not allowed.
- Based on
- Convention
- Principle
- Be consistent
- GuidanceGuidance: Atlassian Design System date time picker examplesAtlassian
- Guidance: Carbon Design System date picker usageIBM Carbon Design System
- Guidance: Date-Input Form Fields: UX Design GuidelinesAngie Li, 2017
- Guidance: React Aria Components DateField documentationAdobe
Accessibility
- WCAG 2.2 · 3.3.2 · AThe group needs a label, each part a name, and a required format should be stated.
- WCAG 2.2 · 1.3.5 · AAThe user's own birth date must expose its purpose in code.
- WCAG 2.2 · 2.1.1 · AEvery calendar function works from the keyboard.
- WCAG 2.2 · 3.2.2 · APicking a date must not submit or navigate; moving focus between fields automatically needs prior notice.
- ARIA guideWAI-ARIA Authoring Practices, date picker dialog example: the key model in rule 16. Guidance, not a requirement.rule 16
- WCAG 2.2 · 2.5.7Also likely to apply: 2.5.7 Dragging Movements, for range selection.
Open questions
- OpenMonth: list of names or typed? USWDS testing favored a list; GOV.UK accepts typed names and reports fewer errors. In a small study with older adults on phones, picking the month and typing the rest was the least accurate design ().
- OpenCalendars are contested outside near dates. Slow and error-prone when copying given dates () and in a small tablet study read as an abstract; fastest for near dates and day-of-week tasks (). No study covers the middle ground, such as a date a few months away.
- OpenThe browser's native date control. Only one informal single-tester screen reader walkthrough was read. The government systems avoid it. Not rated.
- OpenNo study was found of screen reader or keyboard-only use of calendars, or of date ranges.
- OpenShould the pilot's single entry be split into "known dates" and "choosing a date"? See the checkpoint summary.
Sources
- ExperimentsExperiment: Working towards usable forms on the World Wide Web: optimizing date entry input fieldsBargas-Avila, 2011
- Experiment: Mobile survey design research, experiment 16: date entry methodFalcone, 2023
- Experiment: Enhancing online forms: use format specifications for fields with format restrictions to help respondentsBargas-Avila, 2011
- Experiment: Designing input fields for non-narrative open-ended responses in web surveysCouper, 2011
- Experiment: A comparison of date selection elements on mobile touch devices in eCommerce sitesRomikaityte, 2022
- Experiment: Differences in usability between three date-entry designsRivas, 2026
- User researchUser research: Memorable date (USWDS component)U.S. Web Design System
- User research: Asking for a date of birthJoe Lanman, 2013
- User research: How to Format Expiration Date FieldsBaymard Institute
- User research: Choosing a date, we want to know your use cases (discussionGOV.UK Design System GitHub community, 2024
- User research: Date picker (USWDS component)U.S. Web Design System
- StandardsStandard: Understanding SC 3.3.2 Labels or InstructionsW3C WAI
- Standard: HTML Standard, autofill field names for telephone numbersWHATWG
- Standard: Understanding SC 3.2.2 On Input (Level A)W3C WAI
- Standard: Date Picker Dialog Example (ARIA Authoring Practices Guide)W3C WAI ARIA Practices
- Standard: Understanding SC 2.1.1 Keyboard (Level A)W3C WAI
- GuidanceGuidance: Date input (GOV.UK Design System component)GOV.UK Design System team
- Guidance: Date-Input Form Fields: UX Design GuidelinesAngie Li, 2017
- Guidance: Carbon Design System date picker usageIBM Carbon Design System
- Guidance: Date and Time Pickers for All (React Aria blog)Adobe
- Guidance: wcag22-1.3.5
- Guidance: Atlassian Design System date time picker examplesAtlassian
- Guidance: Why the GOV.UK Design System team changed the input type for numbersGOV.UK Design System team, 2020
- Guidance: Ask users for dates (GOV.UK Design System pattern)GOV.UK Design System team
- Guidance: Atlassian Design System date time picker usageAtlassian
- Guidance: React Aria Components DatePicker documentationAdobe
- Guidance: MUI X Date Pickers accessibilityMUI
- Guidance: React Aria Components DateField documentationAdobe
Related
- When to validate a form fieldCheck on submit, and do not show an error until people have finished the field.Answer: moderate.
- LabelsGive every field a visible label that stays in place while people type.Answer: moderate.
- Payment cardTake the card number in one field, with or without spaces, and work out the card type yourself.Answer: moderate.
- Selects vs radios vs comboboxesShow a few options as radio buttons. For a long list, let people type.Answer: moderate.
- Input modes and on-screen keyboardsShow the keyboard that matches each field, but accept the same input whatever keyboard appears.Answer: moderate.