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

Ensure Avatar follows the Platforms Code Design System

The avatar must match the approved sizes and use one of the three permitted contexts (initials, photograph or icon) consistently within a given list, and must carry alternative text naming who it represents.

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. The avatar’s size is compared with the sizes on the component page (24 to 120px). 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 2 checkpoints published in the Platforms Code, and they are the reference when judging it.

This criterion on the official Platforms Code site

All 2 checkpoints, in Arabic

This criterion’s 2 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 31 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.

Avatar: Platforms Code criterion 31 | xfix