EN, Change language
Englishالعربية

Assessment rules

The 102 rules we took from 35 official pages of the design system, grouped by section and page, and what we measure for each.

Ministry of Transport, Communications and Information Technology (Gov.om) · Gov.om Design System web, read 2026-10-15

F. Foundations

23 rules

RuleRequirementCheck
Tokens · Tokens
OM-001Use the existing Gov.om components where possible instead of building custom variations or copying component source code.
Tokens · Tokens
Partly measured
OM-002Apply colour, size and spacing through the gup design tokens; do not hard-code raw values in components.
Tokens · Tokens
Partly measured
OM-003Do not rename tokens locally or create new tokens without alignment with the design system team.
Tokens · Tokens
Measured
Colours · Colours
OM-004Use the Gov.om palette and its levels for emphasis without introducing new colours.
Colours · Colours
Partly measured
OM-005Primary actions and key interactive elements use the brand colours.
Colours · Colours
Partly measured
OM-006Body text, headings and supporting text use the content colours; links use the link colour.
Colours · Colours
Measured
OM-007Do not use brand or accent colours for long-form text.
Colours · Colours
Measured
OM-008Text placed over backgrounds meets WCAG 2.2 AA contrast.
Colours · Colours
Measured
OM-009Do not use colour as the only way to convey meaning.
Colours · Colours
Partly measured
OM-010The footer uses the footer background colour (gup/color/background/footer).
Colours · Colours
Partly measured
Typography · Typography
OM-011Readex Pro is the typeface for English and Arabic headings, body text, labels, links and UI content.
Typography · Typography
Measured
OM-012Do not introduce additional fonts.
Typography · Typography
Measured
OM-013Text sizes follow the semantic type scale (headlines 48/32/28/24/20/16px, body and labels from the scale).
Typography · Typography
Partly measured
OM-014Typography supports text resizing: zoom is never blocked.
Typography · Typography
Measured
OM-015Body text keeps readable line spacing (line-height 1.4–1.5).
Typography · Typography
Measured
Spacing · Spacing
OM-016Spacing follows the spacing and padding tokens instead of hard-coded pixel values.
Spacing · Spacing
Partly measured
OM-017Interactive targets keep enough size and spacing; do not collapse spacing to fit more content.
Spacing · Spacing
Measured
OM-018Corner radii come from the @govom/tokens radius tokens (4, 8, 12px, or fully rounded).
Spacing · Spacing
Measured
Responsive design · Responsive design
OM-019The interface is fully responsive: layouts adapt to the screen with no horizontal scrolling.
Responsive design · Responsive design
Measured
OM-020On screens wider than 1024px the content width is limited to 1024px and the background extends to fill the rest.
Responsive design · Responsive design
Partly measured
OM-021Between 720px and 1024px keep 32px of padding on both sides.
Responsive design · Responsive design
Partly measured
OM-022Below 750px the navigation becomes compact (labels give way to icons or a menu) and padding drops to 20px.
Responsive design · Responsive design
Partly measured
OM-023Below 640px the layout is a single column.
Responsive design · Responsive design
Partly measured

Q. Frontend quality

11 rules

RuleRequirementCheck
Frontend quality · Frontend quality
OM-029Semantic markup is used wherever a semantic element has baseline support.
Frontend quality · Frontend quality
Measured
OM-030The page source code is valid HTML (W3C validator).
Frontend quality · Frontend quality
Partly measured
OM-031Every page passes Axe and WAVE checks without errors and complies with WCAG 2.2 AA.
Frontend quality · Frontend quality
Partly measured
OM-032All functionality is accessible with a keyboard, focus is visible and moves in a logical order.
Frontend quality · Frontend quality
Partly measured
OM-033Pages work with the latest NVDA + Chrome on Windows and VoiceOver + Safari on Mac.
Frontend quality · Frontend quality
Manual review
OM-034The design matches the Figma designs within 1–2px.
Frontend quality · Frontend quality
Manual review
OM-035Each page passes a Lighthouse performance audit with a score of at least 60.
Frontend quality · Frontend quality
Partly measured
OM-036Each page passes a Lighthouse SEO audit with a score of at least 60.
Frontend quality · Frontend quality
Measured
OM-037The browser console shows no errors or warnings.
Frontend quality · Frontend quality
Measured
OM-038Pages work on the supported browser range (recent Chrome, Edge, Firefox, Safari, Samsung, Opera, iOS and Android).
Frontend quality · Frontend quality
Manual review
OM-039Pages work at the smallest supported viewport (360), a medium viewport (1024) and a very large viewport (1920).
Frontend quality · Frontend quality
Partly measured

C. Components

56 rules

RuleRequirementCheck
Accordion · Accordion
OM-040The accordion item must be operable with a keyboard, so users can open and close it using standard keyboard controls.
Accordion · Accordion
Partly measured
OM-041Screen readers must announce whether the accordion item is expanded or collapsed.
Accordion · Accordion
Measured
OM-042Use semantic HTML to associate the accordion label with its content, and use ARIA only when semantic HTML alone is not sufficient.
Accordion · Accordion
Measured
Avatar · Avatar
OM-043Provide meaningful alternative text when the avatar uses an image.
Avatar · Avatar
Measured
Banner · Banner
OM-044Only show one banner at a time and do not use banners multiple times on the same page.
Banner · Banner
Measured
OM-045Use semantic HTML so screen readers announce the banner correctly, and ensure the banner is announced when it appears.
Banner · Banner
Partly measured
OM-046When a form submission fails validation, the error summary banner must link to the fields that need fixing.
Banner · Banner
Manual review
Breadcrumbs · Breadcrumbs
OM-047Use semantic HTML and group breadcrumbs within a navigation landmark.
Breadcrumbs · Breadcrumbs
Measured
OM-048Mark the current page clearly for screen readers.
Breadcrumbs · Breadcrumbs
Measured
OM-049All breadcrumb items except the current page must be links; do not include the current page as a link.
Breadcrumbs · Breadcrumbs
Measured
OM-050Place breadcrumbs near the top of the page, above the main page heading.
Breadcrumbs · Breadcrumbs
Measured
OM-051In RTL, reverse the order of breadcrumb items, align right, mirror separators and keep the current page as the final item in reading order.
Breadcrumbs · Breadcrumbs
Measured
Button · Button
OM-052Use only one primary button per page.
Button · Button
Measured
OM-053Do not use a button for navigation between pages; use a link instead.
Button · Button
Partly measured
OM-054Use short, clear labels that start with a verb and describe the action; do not use vague labels like 'Click here' or 'Submit'.
Button · Button
Partly measured
OM-055Use native button elements where possible and make buttons reachable using the keyboard.
Button · Button
Measured
OM-056Icon-only buttons must have accessible text.
Button · Button
Measured
Checkbox · Checkbox
OM-057Use the semantic HTML input type checkbox.
Checkbox · Checkbox
Measured
OM-058Each checkbox must have a visible label that is programmatically linked to it.
Checkbox · Checkbox
Measured
OM-059Do not mix checkboxes and radio buttons in the same list.
Checkbox · Checkbox
Measured
Dialog · Dialog
OM-060Move keyboard focus to the dialog when it opens, trap focus inside it until it is closed, and return focus to the triggering element when closed.
Dialog · Dialog
Manual review
OM-061Ensure the dialog heading is announced by screen readers, using semantic HTML for headings and buttons.
Dialog · Dialog
Measured
Dropdown · Dropdown
OM-062Do not use a dropdown when there are 5 or fewer options; use radio buttons instead.
Dropdown · Dropdown
Measured
OM-063Use 'Select an option' as a placeholder, not as a real value.
Dropdown · Dropdown
Measured
OM-064The dropdown must be usable with a keyboard: open with Enter or Space and move through options with arrow keys.
Dropdown · Dropdown
Partly measured
File item · File item
OM-065Use meaningful link text so screen readers announce the file name and action; do not use vague action text such as 'Click here'.
File item · File item
Measured
File upload · File upload
OM-066The label must be correctly associated with the file input.
File upload · File upload
Measured
OM-067Use hint text to explain accepted file types, size limits and quantity, telling users the maximum file size before they upload.
File upload · File upload
Measured
Form section · Form section
OM-068Each form section must have a clear and unique heading.
Form section · Form section
Measured
Hint · Hint
OM-069Ensure the hint is programmatically associated with the form field so screen readers read it when the user focuses the input.
Hint · Hint
Measured
OM-070Place the hint directly below the form label and above the input, not inside the input.
Hint · Hint
Measured
Icon · Icon
OM-071Decorative icons should be hidden from screen readers.
Icon · Icon
Measured
OM-072Icons that convey meaning must have accessible text that gives screen reader users the same meaning sighted users get.
Icon · Icon
Measured
Image · Image
OM-073Always provide alt text that describes the image purpose, and leave alt text empty only for decorative images.
Image · Image
Measured
OM-074Show a clear error message if the image cannot load; do not leave broken images.
Image · Image
Measured
Input · Input
OM-075Place labels above their fields.
Input · Input
Measured
OM-076Do not rely on placeholder text as the only label; use placeholders only as supporting examples.
Input · Input
Measured
OM-077Labels must be programmatically associated with their fields.
Input · Input
Measured
OM-078Use native HTML input types where possible and avoid ARIA unless necessary.
Input · Input
Measured
Link · Link
OM-079Link text must be clear and descriptive and make sense out of context; avoid vague text such as "click here", "read more" or "more information".
Link · Link
Measured
OM-080Links that open in a new tab must warn users in the link text and the accessible name.
Link · Link
Measured
OM-081Do not remove the link underline unless there is a strong visual cue.
Link · Link
Measured
OM-082Use semantic HTML anchor elements for links; most links do not need ARIA.
Link · Link
Measured
Pagination · Pagination
OM-083Use semantic HTML lists and links for pagination.
Pagination · Pagination
Measured
OM-084The current page must be announced to screen readers.
Pagination · Pagination
Measured
Rich text · Rich text
OM-085Keep a comfortable line length for reading.
Rich text · Rich text
Measured
OM-086Align text to the start and do not centre long blocks of text.
Rich text · Rich text
Measured
Search · Search
OM-087The search input must have an associated label (visible, or visually hidden with an accessible alternative) and must not rely on placeholder text as the only label.
Search · Search
Measured
OM-088The search button and the clear button must have accessible names.
Search · Search
Measured
Stepper · Stepper
OM-089Screen readers must be told which step is current, which are complete and which are not yet complete.
Stepper · Stepper
Measured
Table · Table
OM-090Do not use tables for layout or visual styling.
Table · Table
Measured
OM-091Do not overload tables with too many columns for small screens, and ensure responsive behaviour works.
Table · Table
Measured
OM-092Headers must be correctly associated with data cells, using row headers where helpful.
Table · Table
Measured
Tabs · Tabs
OM-093The selected tab must be announced by screen readers, and each tab panel must be associated with its tab.
Tabs · Tabs
Measured
Toggle · Toggle
OM-094The toggle must be operable with the Space bar and use semantic HTML so screen readers announce its label and on/off state.
Toggle · Toggle
Measured
Tooltip · Tooltip
OM-095Tooltip content must be programmatically associated with its trigger.
Tooltip · Tooltip
Measured

P. Patterns and templates

7 rules

RuleRequirementCheck
Address pattern · Address pattern
OM-096Address fields go from general to specific: Governorate, then Wilayat, then local details such as area, way number and house number, then optional directions.
Address pattern · Address pattern
Measured
OM-097Every address field must have a visible label; do not rely on placeholders instead of labels.
Address pattern · Address pattern
Measured
Credit card pattern · Credit card pattern
OM-098Use secure connections at all times for card entry.
Credit card pattern · Credit card pattern
Measured
Civil ID pattern · Civil ID pattern
OM-099Use a single input for the Civil ID number; do not split it across multiple fields.
Civil ID pattern · Civil ID pattern
Measured
OM-100The Civil ID input must have a visible label, with helper text and error messages programmatically associated.
Civil ID pattern · Civil ID pattern
Measured
Form template · Form template
OM-101Mark optional fields by adding "(Optional)" next to the label.
Form template · Form template
Measured
OM-102On errors, show an alert summarising what went wrong with anchor links to each missing field, and mark each field with an error state and descriptive text.
Form template · Form template
Manual review
All 102 Rules of the Gov.om Design System | xfix