hreflang

Specifies language and region for webpages.

Indicators

Impact

(How ScanGov measures tasklist priorities.)

About

The `hreflang` attribute helps search engines understand which language and region a webpage is targeting. This is useful when a website has multiple versions in different languages or for different regions. By using `hreflang`, the site can show the correct version of a page to users based on their language or location, improving their experience. It also helps search engines avoid showing the wrong language version in search results, leading to better SEO and user engagement.

Why it's important

Indicates page language and region, helping users see the right version and improving search results in different countries.

User stories

As a website visitor, I want to see the page in my language so I can easily understand the content.

Error

(ScanGov messaging when a site fails a standard)

The pages has a missing or invalid hreflang attribute.

Guidance

Feedback