This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.

Language - Easy Checks

How is Language identified?

Web pages should identify the primary language of the page.

The following images show an examples of webpages in English, Japanese and German.

Example of Japanese webpage with JP declared Example of German webpage with DE declared

Who depends on Language being identified?

People who use screen readers or other technologies that convert text into synthetic speech depend on the language being identified. This could include people who are blind and people with certain cognitive, language, and learning disabilities. When the language is identified, then the synthetic speech can use the proper pronunciation.

Checking Language

This is just for practice. Also, you can see what the check will look like on an accessible page.

Click on the button below:

Check language on this page

Checking other pages

To check other pages you need to add the check link as a bookmark.

  1. Make sure your browser bookmarks bar is open. Ctrl/CMD+Shift+B will usually toggle the bar
  2. Drag this link to your browser bookmarks bar: Check page language
  3. Visit the page you want to check
  4. Click on the ‘Check page language’ link in your bookmarks
  1. Make sure your browser bookmarks/favorites bar is open. Ctrl/CMD+Shift+B will usually toggle the bar
  2. Create a bookmark to this page using Ctrl/CMD+D
  3. Edit your bookmarks - this varies depending on browser and operating system. There is usually a menu option to manage your bookmarks
  4. Edit the newly added bookmark to this page
  5. Paste the script copied into the URL or Link field

What to look for

Note that this check does not identify language changes within a page.

Learn more

Back to Top

This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.