An IETF BCP 47 language tag identifies the human language used on a page and can specify a regional variant. Correct language identification helps speech synthesizers pronounce text appropriately and braille translation software apply language-specific rules. section 4.2
<nav aria-label="Language Selector">
<ul class="lang-selector">
<li>
<a href="../en/index.html"
hreflang="en"
lang="en"
aria-current="page">English</a>
</li>
<li>
<a href="../es/index.html"
hreflang="es"
lang="es">Español</a>
</li>
<li>
<a href="../fr/index.html"
hreflang="fr"
lang="fr">Français</a>
</li>
</ul>
</nav>
The language selector uses language tags in lang and hreflang attributes for English, Spanish, and French links. section 4.2
