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

The page source code is valid HTML (W3C validator).

The requirement (from the design system site)

The page source code is valid HTML (W3C validator).

Why it matters to users

When markup is broken, browsers and assistive tools guess what was meant, and each guesses differently. A duplicate id or a link nested inside a button can leave a field unreadable to a screen reader, or a button that does nothing in one browser.

How to fix it

Fix the duplicate ids, missing doctype or title, and nested interactive elements in the report, and run each page template through the W3C HTML validator until it shows no errors. Then scan again.

How we measure it

Validity signals a crawl can read: duplicate ids, a doctype, one <title>, no nested interactive elements, no obsolete elements. A full validator run is the reviewer step. Partly measured: we measure what the public pages show of this rule; the rest needs a review.

The rule on the design system site

Related rules

Valid HTML · Oman OM-030 | xfix