Ensure Notifications follow the Platforms Code Design System
The notification component splits by lifetime and priority: transient messages are toasts, persistent ones are inline alerts, and high-priority persistent ones sit at the top of the page. Using the wrong one is how a critical warning disappears before it is read.
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 notification elements a visitor can see, page content first, are read for their colour, border, inner spacing and corner radius, and compared with the approved values after duplicates across pages are removed; height and full shape are not measured. An element that matches without a library marker is capped at partial application, and one that shows only after interaction is not measured or counted. A non-blocking bar (role=dialog without aria-modal) is a notification, not a modal. A wide notice at the top of the page is read for its position and role, and pinned or full-width notifications for a close button. A message’s lifetime and meaning are left for review.
The official text and its checkpoints
This criterion rests on 6 checkpoints published in the Platforms Code, and they are the reference when judging it.
This criterion on the official Platforms Code siteAll 6 checkpoints, in Arabic
This criterion’s 6 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.