Skip to main content

The page does not say what language it is in

html-has-langOur plugin repairs this

The page is missing the setting that tells software which language it is written in.

Who this affects

Screen reader users, without it, the screen reader may read English text with a French or Spanish accent, making it incomprehensible.

Fix it in WordPress

WordPress outputs this automatically through language_attributes() in header.php. If it is missing, the theme's header.php is not calling it. Set the site language under Settings → General first, then check the theme.

What the fix is, technically

Add a lang attribute to the html element, for example <html lang="en">.

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