2 Messages
•
80 Points
Language missing or invalid
We are using the WAVE accessibility evaluation tool for our library website and we are getting the message:
Language missing or invalid
The language of the document is not identified or a lang attribute value is invalid.
How do we designate English as the site's language?



russell5607
2.5K Messages
•
25K Points
6 months ago
langattribute to the<html>tag of each web page.<html>tag: In the HTML code for each page of your website, find the opening<html>tag, which is usually at the very top of the document.langattribute: Add thelangattribute to the<html>tag with the value "en" for English.langattribute allows screen readers to pronounce words with the correct accent and language profile.lang="en"attribute to your<html>tag, you will satisfy the Web Content Accessibility Guidelines (WCAG) Success Criterion 3.1.1, which requires that the default human language of each web page can be programmatically determined.2
0