Time Picker
A time picker is a control for typing or choosing a local time of day. Its step size and local display format must be clear.
A real example
A Taipei clinic offers appointments every 15 minutes from 09:00 to 17:00. A choice such as 14:30 is saved separately from the date and Asia/Taipei zone. A time alone must not pretend to include a date or zone.
Main parts
- 01time field
- 02precision or step
- 03zone context
Use it when
Use this term when users must give an exact time within known steps and limits.
Do not use it when
Do not use it for a length of time, a relative time, or cross-zone scheduling when the zone is hidden.
Name used in code
<input type=time> + step + min/max Before you ship
Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery.
Outcome: Use Time Picker to solve this user need without losing the current context. User context: A Taipei clinic offers appointments every 15 minutes from 09:00 to 17:00. A choice such as 14:30 is saved separately from the date and Asia/Taipei zone. A time alone must not pretend to include a date or zone. Recommended pattern: Time Picker. Why it fits: Use this term when users must give an exact time within known steps and limits. Do not use it when: Do not use it for a length of time, a relative time, or cross-zone scheduling when the zone is hidden. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary): A formal document may still be a draft, release candidate, or final version. Check its status and browser or platform support. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Check this request
Review the current use of Time Picker. Definition: A time picker is a control for typing or choosing a local time of day. Its step size and local display format must be clear. Release checks: Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.