Interview practice question
The page has no lang attribute
Frontend Engineering · Accessibility · Beginner
An audit flags that your pages are missing a lang attribute. Why does this matter, and how do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Screen readers choose pronunciation by lang.
- Wrong language → garbled speech.
- Add lang on html element.
- Mark inline language changes.
- Helps translation and hyphenation.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.