Formal (X)HTML grammar

(Referring UWEM Test: 3.2_HTML_02)

Test info

Failure cause

Found invalid (X)HTML code

The inspected (X)HTML file contains violations against the formal grammar of (X)HTML.

Please check your page with the W3C Markup Validation Service to get detailed information about the errors.

Why this may be a barrier

An HTML document must follow the rules set in the formal grammar of the language.

Documents created according to published formal grammars are supported by more browsers and assistive technologies. Invalid code may make a web page directly inaccessible or inaccessible to assistive technologies, whereas valid code also facilitates indexing tools, search engines and automatic text translation software.

References

Related WCAG 1.0 Checkpoint

3.2

"Create documents that validate to published formal grammars." [Priority 2]
WCAG 1.0 Checkpoint 3.2

Referring UWEM Test

3.2_HTML_02

This test is targeted to find violations against the formal schema for HTML 4.x or XHTML 1.0.

Related DIFI/norge.no requirements

1.11

Is the (X)HTML code of the web site correct?
norge.no requirement description 1.11

Questions, suggestions, objections? Give us feedback!