Crownpeak Employee
Crownpeak Employee

Pages should specify the natural language of a document

Why is this important?

Specifying the language of a page is important for assistive technology users. It allows braille translation software to substitute control codes for accented characters, and insert control codes necessary to prevent erroneous creation of Grade 2 braille contractions. Screen readers can use the proper pronunciation, accent and syntax that are specific to the language of the page (for those with multiple language support). Also some user agents can set the proper language dictionary and provide a definition of the words being used if the language is specified at the start of the page.

How can I resolve this issue?

Add a lang attribute and specify the language within the html tag.

Example <html lang="en">

What topics do this checkpoint affect?

  •  Accessibility (WCAG 2.1 Level A, 3.1.1)

Can you explain how this checkpoint works?

The checkpoint examines the entire HTML source code of a page and reports if within the <html><html> element, the lang (language) or xml:lang attributes are not specified.


Labels (1)

Can't find what you are looking for?

Find Answers

Search our DQM Forum to find answers to questions asked by other DQM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question