Add a `lang` Attribute to Improve SEO and Accessibility

Internationalization Analyzer

What is this warning?

Your page is missing a simple but important piece of information: the `lang` attribute. This tells search engines and browsers what language the content is written in. Without it, search engines might show your page to the wrong audience, and screen readers might pronounce the words incorrectly. It's a quick win for both SEO and accessibility.

How to Fix This Issue

How to Fix It

The Problem

The `<html>` tag has no `lang` attribute.

<html>

The Solution

Add the `lang` attribute with the appropriate language code to the `<html>` tag.

<html lang="en">

Why This Works

The `lang` attribute is a fundamental signal for both search engines and assistive technologies. It helps ensure your content is indexed correctly and is accessible to users with disabilities. Learn more from Google's documentation on the importance of language attributes.

SEO Impact

This issue can affect your site's search engine rankings and user experience. Addressing it promptly helps ensure optimal performance and visibility in search results.

Automatic Detection

Black SEO Analyzer automatically checks for this warning during site analysis, along with hundreds of other technical SEO issues.

Ready to Unlock Your Site's Full SEO Potential?

Choose the license that fits your needs and start getting the deep, actionable insights you deserve.