Skip to main content

The page declares two different languages

html-xml-lang-mismatchOur plugin repairs this

The page states its language twice, and the two statements disagree.

Who this affects

Screen reader users, whose software may pick the wrong pronunciation.

Fix it in WordPress

Check the theme's header.php and any multilingual plugin's output.

What the fix is, technically

Make the lang and xml:lang attributes match.

Or let the plugin do it

This is one of the failures AccessVane can repair for you. It changes the pages your server actually sends, not a script layered on top, and switching the repair off puts everything back exactly as your theme had it.

About the WordPress plugin

Does your site have this problem?

Scan any page free and find out in about fifteen seconds. No signup, and nothing about your site is stored.

Check my page

Other common failures