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

HTML is valid against W3C standards.

The requirement

HTML is valid against W3C standards.

Why it matters to users

HTML defects such as duplicate ids or buttons nested in links make screen readers announce the wrong element or skip it. The page also renders differently across browsers, so some citizens see it broken.

How to fix it

Fix the defects listed in this report (duplicate ids, obsolete elements, nested interactive elements, a repeated viewport tag) in your templates, and run them through the W3C validator before release, which this check does not replace. Then scan again.

How we measure it

Defects in the rendered and the served HTML: duplicate ids, obsolete elements, nested interactive elements, a repeated viewport tag; any one fails the page. Indicative, not a full W3C validation (the page is never sent to a third party). Partly measured: we measure what the public pages show of this rule; the rest needs a review.

Its official source

Related rules

Valid HTML · Bahrain BH-128 | xfix