Replace the three drop-down lists with text boxes for day, month and year. Label each one, show the expected format beside them, bring up the number keypad on phones and check the date once the form is sent.

A hundred years, twice

A parent registers two children for a summer camp on a March evening. The form asks each child's birth date with three drop-down lists: day, month and year.

The year list starts a hundred years back and runs to this year. Her children's years are near the bottom, and she has to find them twice.

On her phone the list becomes a spinning wheel. She flicks it, overshoots, flicks back, and then does it all again for her second child.

The rest of the form is well made. It is this one question, asked of every parent for every child, that slows everyone down.

Slow for everyone, slower for some

A drop-down list suits a short set of choices. A century of years is not short, and splitting one date across three lists means three separate searches.

Keyboard users move through a list one entry at a time with the arrow keys. Typing digits can jump ahead in some browsers, but few people know that it works, and it behaves differently from one browser to the next.

Screen reading software announces each entry as it passes, so reaching the right year can mean listening to dozens of numbers first.

Where the three lists go wrong

The problems pile up on one small part of the form:

None of this is the parent's fault. Each problem is met again for every child and every program on the form.

Three plain boxes instead

Replace the lists with three short text boxes: day, month and year. Each has its own visible label, and an example sits beside them in the same order: 07 03 2005 for March 7, 2005.

People type their own dates, and their children's, often and quickly. Eight digits take a few seconds, with nothing to scroll and nothing to overshoot.

On phones, the boxes can be set to bring up the number keypad, which is larger and simpler than the full keyboard.

Labels the software can read

Each box needs its own label tied to it in the code, not merely text placed nearby. Screen reading software can then say Day, Month and Year as each box is reached.

Group the three boxes under one name for the question as a whole, such as the child's birth date, so the person knows what they belong to and the software reads that name before the first box.

Put the format hint in text beside the boxes, not as grey placeholder text inside them, which disappears as soon as typing starts.

Checking what is typed

Check the date once the form is sent, not as each digit goes in. A message that appears mid-entry interrupts screen reader users and confuses everyone else.

If something is wrong, say what and where, in words next to the boxes: the month must be a number from 1 to 12. Colour alone does not tell everyone.

Accept the small variations people type, such as 7 or 07 for the day, rather than rejecting one of them.

For a program with age limits, check the age too, and say plainly before payment if a child falls outside it.

A worked example

On the Sunshine Coast, a wooden boat school runs week-long courses for adults and a summer youth program in which teenagers build small rowing boats.

Its registration form asked each student's birth date with three drop-down lists, and the year list began a century back, oldest first.

A parent who uses screen reading software emailed to say that registering her son had taken twenty minutes, most of it spent listening to years.

The lists became three labelled boxes, grouped under the student's birth date, with the format shown beside them. On phones they bring up the number keypad.

The form now checks each age against the course chosen, and says before payment if a student is too young or too old for the youth program.

A date now takes the same few seconds with a keyboard, a screen reader or a thumb, because there is nothing to scroll and every box says what it wants.

When a list is still right

Drop-down lists suit short choices: a province, a shirt size, a session week. They become a problem when the list is long and the answer is already in the person's head.

A month list of twelve names can work between the day and year boxes, provided it is tested with a keyboard first.

Pop-up calendars suit booking a date next week. For a birth date they mean paging back through years, a month at a time, often with the year tucked behind a small arrow.

The counter-case

A form that needs only a birth year for an age group can use one short list of the few years that apply, which may be quicker than typing.

A form used once a year by a handful of families may also seem hardly worth changing.

But a registration form is often a family's first contact with a camp or course, and making it quick for every parent is part of welcoming them. A developer can usually make the change in an afternoon.

Replacing the three lists

  1. Find every date field on your forms.
  2. Replace long lists with three short text boxes.
  3. Label each box in the code: day, month, year.
  4. Show the format beside the boxes, in text.
  5. Bring up the number keypad on phones.
  6. Check the date and the age when the form is sent.
  7. Test the form with only a keyboard, then with a screen reader.

Step three is the one most forms miss. Visible words beside a box mean nothing to screen reading software unless the code ties them to it, and an unlabelled box is announced as a blank.

On phones, a single line of code can shut out visitors with low vision in a different way, as a phone layout that will not let anyone zoom explains.


Frequently asked questions

What is wrong with drop-down lists for birth dates?

The year list holds a hundred entries. Keyboard users step through it one at a time, screen readers announce each year, and phones show it as a long spinning wheel.

What should replace them?

Three short text boxes for day, month and year, each with its own label, and an example of the expected format shown beside them in text.

How does the form catch mistakes?

It checks the date when the form is sent and explains any problem in words beside the boxes, such as a month above 12 or an age outside the range.

Why not use placeholder text for the format?

Placeholder text inside a box disappears when typing starts, so the person loses the hint just when they need it. Put the format in text beside the boxes.

Are pop-up calendars better for birth dates?

No. A calendar suits a date next week, but for a birth date it means paging back through years a month at a time, which is slower than typing.

Should every drop-down list go?

No. Lists suit short choices, such as a province or a session week. They become a problem when the list is long and the answer is already known.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Registration form full of long lists?

Tell us where the form lives, and we will point out which fields to change so every parent can finish it quickly.

Start a Conversation