Every page of your website has a language assigned
Setting every webpage’s HTML language is an easy way to help your users, including those browsing your website with assistive technology. Setting a language is important because the way that screen readers pronounce words depends on the HTML language assigned to your website.
What to do
Ensure that each page of your website has a language assigned to it.
- Set the language in your template and you’ll only need to do this once.
- If you trade internationally and have different parts of your website in different languages, make sure they are assigned correctly.
- HTML language codes match the ISO language codes standard. W3Schools has a full list of language codes.
Free Developer Resources
Join over 2,000 accessibility fans and get free developer resources like WCAG 2.0 Checklists and a sample from my book.
Over 250 people just like you have learned more about WCAG 2.0 with my guidebook.