EN, Change language
Englishالعربية
Criterion 36 · ComponentsMachine-measured (structural)

Ensure Date Picker follows the Platforms Code Design System

The date picker must be built on a real date control, reachable and operable by keyboard, with today and the selected day distinguished by more than colour. A display calendar of events is a different component and does not satisfy this.

It is one of the primary criteria in the components group of the Saudi Platforms Code, issued by the Digital Government Authority.

How xfix gov measures this criterion

The component’s applied background colour, border colour and padding are read from the page and compared with the approved values, and a component that matches without any library marker is capped at partial application. Its interactive states are not examined. Each visible field is also checked for a label: a label element, aria-label or aria-labelledby. The label is part of the component, and placeholder text is not a label. A component not seen on the public pages read, present in the markup but not shown, or shown with no value to compare is reported as not measured and not counted: its absence from the sample does not mean the platform has none.

The official text and its checkpoints

This criterion rests on 3 checkpoints published in the Platforms Code, and they are the reference when judging it.

This criterion on the official Platforms Code site

All 3 checkpoints, in Arabic

This criterion’s 3 checkpoints are not written in English yet. The Arabic page carries all of them in full, each with its own answer, what passes and fails, how it is measured, and how it is repaired.

Criterion 36 in Arabic, with every checkpoint

Related criteria

xfix gov is an independent tool, not part of the Digital Government Authority, and what it produces is an indicative estimate, not the Platforms Code Application Certificate. The limits of this tool.

Date picker: Platforms Code criterion 36 | xfix