Date/Time Pickers — Accessibility Specification

WCAG 2.1 AA • AODA compliant • Updated 2025-10-08


What is this component?

What is this component? Controls to capture dates and times. Prefer native <input type="date|time|datetime-local"> when available; custom calendars must mirror keyboard/ARIA behavior.

Accessibility Requirements

RequirementWCAG CriteriaDescription
Label/Instructions1.3.1, 3.3.2Provide clear labels, format hints, and timezone info if applicable.
Error identification3.3.1, 3.3.3Announce invalid formats and provide correction suggestions.
Keyboard2.1.1Native pickers use OS UI; custom calendars must support arrows, Home/End, PgUp/PgDn, Enter.
Name, Role, Value4.1.2Expose active date, focused cell, and selected value.

ARIA Roles and Attributes

ARIA Role/AttributeUsed OnPurpose & Usage
<input type="date|time|datetime-local">Native pickersPreferred for mobile/OS integration.
role="grid" + aria-selected/aria-labelCustom calendarsAnnounce focused date and selection; manage keyboard navigation.
aria-describedbyInputsDescribe required format & timezone.

Implementation Guidelines




Local time; format: YYYY-MM-DD hh:mm.

DO’s

Don’ts

Common Pitfalls

Testing Checklist

Test ItemWCAG CriteriaPass Criteria
Format announced3.3.2Screen reader announces hint/format.
Keyboard nav (custom)2.1.1Arrows/Home/End/PgUp/PgDn/Enter work; focus visible.