EN, Change language
Englishالعربية
Criterion 5 · FoundationsMachine-measured

Ensure responsive design that adapts effectively to different screen sizes and orientations to provide a seamless experience across devices

The layout must reorder its columns and components automatically across mobile, tablet and desktop, and the platform must remain fully usable on a phone: touch targets, viewport settings, and reaching the navigation. Reordering is the requirement; shrinking is not. The official templates are drawn at 1440px for desktop and 430px for mobile, over container grids defined at 1280, 768 and 375px. Mind one real gap: the desktop component library stops at 40px, so matching the official size does not by itself meet the 44px touch target; the hit area has to be widened.

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

How xfix gov measures this criterion

The applied value is read from the page and compared with the value approved in the Platforms Code, so the verdict comes from a measurement rather than an estimate, and the observed and expected values are attached together. For this criterion horizontal scrolling is checked at three sizes, the viewport meta is read, row columns are compared between desktop and phone, and touch targets on the phone are measured as a share of all visible interactive elements against the 44 pixels the Platforms Code recommends.

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

The checkpoints, one by one

Each checkpoint below has its own answer: what it requires, what passes and what fails, how it is measured or verified, and how it is repaired. Each has a direct link.

  1. Columns and components reorder by screen size

    Machine-measuredDGA-005-a

    This checkpoint requires the design to reorder its columns and components automatically across mobile, tablet and desktop, following the approved guidance. What is required is reordering, not shrinking: a compressed page is not a responsive one.

    xfix gov measures this checkpoint automatically, and attaches the observed value and the expected value together.

    What passes: Columns collapse to a single track on mobile with no horizontal scroll, and all desktop content remains available at the smaller sizes.

    What fails: Horizontal scrolling at 375 pixels, or a section hidden entirely on mobile rather than reordered, so a phone user loses content others see.

    How it is measured or verified: The tool captures every page at three portrait widths and checks for horizontal scrolling at each, reads the viewport meta, and compares the column count of repeated rows between desktop and phone. Landscape orientation is not rendered.

    How it is repaired: Use logical properties and flexible grids instead of fixed widths, and contain wide content in its own scroll container rather than letting the page scroll.

  2. Full usability on mobile devices

    Machine-measuredDGA-005-b

    This checkpoint requires the platform to be fully usable on a phone: touch interaction, viewport configuration, and reaching the navigation on small screens. Usability is broader than appearing correctly: an element can be visible and untappable.

    xfix gov measures this checkpoint automatically, and attaches the observed value and the expected value together.

    What passes: The viewport tag is declared and permits zooming, touch targets reach the 44 pixels the Platforms Code recommends save for a small share, and the main navigation is visible or has a menu button on mobile.

    What fails: Zooming disabled in the viewport tag, which is a direct accessibility failure. Or navigation that takes two taps on mobile and one click on desktop.

    How it is measured or verified: Touch target sizes are measured at the smallest width for elements in view, links inside sentences excepted, as a share of all interactive elements. The viewport tag is read for zoom blocking, and the main navigation or a menu button is looked for at the top of the phone page.

    How it is repaired: Remove zoom restrictions from the viewport tag, widen touch targets to 44 pixels with padding rather than by enlarging text, and keep the main navigation within one tap.

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.

Responsive design: Platforms Code criterion 5 | xfix