WCAG 3.1.1: Language of Page
Back to all WCAG criteriaOVERVIEW
What's it about?
The main language of a webpage must be correctly specified in the HTML code so that screen readers pronounce the text properly and interpret words correctly.
How to
Depending on your situation, you can implement one of the following options to meet the criterion. For a deeper dive, please refer to the linked WCAG techniques.
Set the lang attribute in the HTML
Set the lang attribute on the HTML tag using the main language of the website: <html lang=”de-DE”>

Accessible development?
Our workshop for developers!
Learn everything you need to know in our workshop to build accessible websites!
Learn accessibility with us?
Looking to implement WCAG best practices in your design, development, or content workflow? Book a workshop for your team or contact us directly to learn more.