Level A
The default human language of each Web page can be programmatically determined.>
Explanation
The written language of the page must be identified in the code of the web page. This makes sure that screen readers automatically use the correct speech libraries for accent and pronunciation.
Roles
- Content
- Development
- QA
Requirements
- The language of the content is indicated in the
langattribute of the<html>element.
Common mistakes
- No
langattribute is present on the<html>element; - The
langattribute is present on the<html>element, but the language code does not match the written language of the content.
Official resources
Other resources
Updated on
August 1st 2019