Begin with the booking task

A date picker is a means to enter a date, not evidence that an appointment is available. The first product decision is what the customer needs to know: a single preferred date, a range of acceptable dates, or one of a limited set of actual service slots. A Hong Kong salon might let a customer name any preferred day and then confirm availability later. A clinic with capacity managed by the minute may need an availability view tied to current inventory. These are different journeys. Write down whether choosing a day is a request, a temporary selection or a confirmed booking. Explain that state in both languages near the field. If the service accepts a preferred date for staff follow-up, an ordinary labelled date field can be simpler than a custom calendar. If the customer must choose from live slots, a calendar can help visually, but an equivalent list of available dates may be easier on a phone or with a screen reader. Make the available actions explicit rather than expecting people to infer them from dimmed days. The page should show the chosen date in readable text outside any calendar popup, because the popup may close before the customer has confirmed what was selected.

Evaluate the native date input first

The HTML date input has useful built-in behavior. MDN documents that its underlying value uses a normalized year-month-day format, while the visible presentation depends on the browser and operating system. It accepts a date rather than a time, so it cannot by itself select a 14:30 appointment. The browser may provide its own calendar interface, but its appearance and interaction vary. Test the actual browser combinations your customers use rather than drawing a single idealized mockup. A proper visible label should say which date is wanted, and nearby help should explain the business meaning: “Preferred visit date; we will confirm availability” differs from “Choose an available appointment.” Avoid relying on placeholder text as the sole label. A minimum or maximum date may constrain entry, but it must match the service's real operating rules. A browser-valid date can still be unavailable because a particular staff member is off duty or a capacity limit has just been reached. Validate availability on the server before confirming, and explain a rejected date with another actionable choice. Native control support is a starting point for a test, not a guarantee that every device and assistive technology combination behaves identically.

Know what a custom calendar must carry

A custom calendar has a substantial interaction cost. W3C's ARIA Authoring Practices date picker example combines a labelled date input with a button that opens a modal dialog and a calendar grid. The example associates date-format help with the field, places focus on a relevant day, announces month changes, supports arrow-key movement and returns focus when the dialog closes. Its keyboard documentation also covers Escape, Tab, month and year navigation, and selection. These are useful test cases, not a ready-made production specification. W3C explicitly warns that the example code is illustrative and may have support gaps, especially on mobile and touch devices; it calls for assistive technology testing before production use. If a supplier's calendar hides the text input and offers only a grid of small day cells, ask how someone enters a date without precise pointing or remembering an undocumented key pattern. If the supplier cannot demonstrate an accessible flow, use a simpler field or date list. More controls are justified only when they help customers understand real availability and still preserve a usable path for people who do not operate the visual calendar.

Check the popup as a complete interaction

A calendar dialog can fail even when each day is labelled. Start at the field with a keyboard, open the picker, identify where focus lands, select a day and close it. Then reopen it, press Escape and confirm that the date did not change. W3C's modal dialog pattern says focus moves inside on opening, Tab stays within the active modal dialog, Escape closes it, and focus normally returns to its trigger when it closes. Marking something as modal without making the rest of the page inert can mislead assistive technology users. The date button should describe its action in the current state, and the selected date must be available to someone listening, not only someone seeing a coloured cell. Day names, month and year matter: “12” alone is ambiguous if focus moves across months. Test the same steps at high zoom and on a small screen, where the popup can cover its own instructions or close button. If the design uses a non-modal picker, document and test its actual focus behavior instead of copying modal attributes by habit. A clean return path is part of choosing a date successfully, not a cosmetic detail.

Work through an unavailable-date case

Imagine a customer chooses 18 November for a consultation. The calendar showed one open slot when it was loaded, but another customer claimed that slot before submission. The interface should not silently choose a neighbouring day or present the original date as confirmed. Recheck capacity at the point of confirmation, keep the customer's entered details, explain that the chosen slot has gone, and offer real alternatives. If the business instead collects preferred dates for manual confirmation, the message should say that the request was received and give the next contact step, without suggesting that a place was reserved. The date control is responsible for accurate input, but the booking system is responsible for the promise. This example is a workflow design test, not a claim that any named merchant has those policies. Also test how the field handles an invalid date, a date outside the allowed window and a date with no services. The message should identify the problem near the control and point toward a valid next choice. A customer who selected a date with a screen reader should hear the same final booking state as a customer viewing the calendar.

Choose by evidence from the actual journey

Compare candidate controls with a short task test, not a screenshot review. Ask a person to find the first available date next week, enter a known date directly, change it, cancel the picker and submit a valid choice. Run those tasks with mouse, touch, keyboard and a screen reader on representative devices. Record completion, errors and unclear language, but do not turn a tiny internal test into a market-wide performance claim. In both English and Traditional Chinese, inspect date order, month names, weekday abbreviations and the wording of unavailable days. Compare the native input, a simple list of available dates and any proposed custom calendar against the same task. The best option is the one that lets customers understand the date, reach it and confirm the true availability. If a custom picker cannot meet the interaction and support burden, simplify. Before launch, verify that the final confirmation repeats the exact selected day and its status, and that an availability change gives a clear recovery path. Recheck after design or supplier updates, because a calendar widget can change without the booking policy changing.

Keep a compact choice record

Before buying a booking widget, record the business rule, the candidate controls and the exact tasks each passed or failed. State whether a selected day is provisional, whether time slots are live, and when the final availability check runs. Save the browser and assistive technology combinations used for the trial, along with the observed problem rather than a general accessibility score. This record helps a small team decide whether the cost of a custom calendar earns its keep. It also prevents a future design refresh from dropping the direct date-entry path or turning an available-date list into a purely visual grid. When supplier behavior changes, repeat the task test using the same record.

Release checks

  • The date field has a visible label, clear meaning and an accurate selected-date summary.
  • The picker can be opened, used, cancelled and closed with the supported input methods.
  • Availability is checked at confirmation and unavailable dates give an actionable recovery path.

Sources & further reading