Ensure Text Input follows the Platforms Code Design System
Every input must carry a visible label bound to it, its six states with a visible focus indicator, and error messages tied to the field programmatically rather than by proximity. Removing focus indicators in one stylesheet line is the most common and most easily fixed violation here.
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 siteAll 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.
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.