Skip to main content
AccessibilityBrief

Page language code is invalid on Elementor

What this is

The `lang` attribute holds a value that is not a valid language code, so assistive technology cannot pick the right voice.

Who it affects

  • Screen reader users

Standards

How to fix it

  1. Replace the value with a valid BCP 47 code such as `en`, `en-GB`, `de`, `fr`, `es`.

On Elementor

Set the site language in WordPress Settings → General; Elementor inherits it.

Other platforms

Prompt for an AI coding tool

Scan your site with AccessibilityBrief and you get a ready-to-use prompt for this problem, with the exact elements on your pages filled in.

Check your own website

Paste a web address. The free scan checks one page and shows what it finds.

Example: example.com/pricing. We scan this one page only.

More fixes

Automated testing detects only a portion of WCAG issues. Manual testing is required to assess full conformance.