-
Couldn't load subscription status.
- Fork 29.7k
Description
Feature request
html tag accepts lang attribute that is, according to MDN, very important for accessibility and accessible technologies like screen readers.
Providing a lang attribute with a valid IETF identifying language tag on the element will help screen reading technology determine the proper language to announce.
Describe the solution you'd like
Add lang="en" by default and provide a simple way to configure the language for the whole project.
Describe alternatives you've considered
We've ended overriding the _document.js as of https://github.com/zeit/next.js#custom-document but not providing this by default contributes to even worse web accessibility situation.
Additional context
Google Chrome shows "Translate this page" dialog without the lang set.