Plugin info

Total downloads: 8,935
Active installs: 90
Total reviews: 3
Average rating: 4.7
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 10 language(s)
Contributors: 5
Last updated: 11/27/2025 (34 days ago)
Added to WordPress: 11/23/2022 (3 years old)
Minimum WordPress version: 5.9
Tested up to WordPress version: 6.9
Minimum PHP version: 7.0

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 34 days ago • 3 reviews

61/100

Is Lang Attribute for the Block Editor abandoned?

Likely maintained (last update 34 days ago).

Compatibility

Requires WordPress: 5.9
Tested up to: 6.9
Requires PHP: 7.0

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

HTML Global lang Attribute
Rating 5.0/5 (1 reviews)Active installs 200
Set HTML lang attribute per post
Rating 4.3/5 (3 reviews)Active installs 100
Admin Language
Rating 1.5/5 (2 reviews)Active installs 10
Complete Language Switcher
Rating 0.0/5 (0 reviews)Active installs 10
Accessibility Language
Rating 0.0/5 (0 reviews)Active installs 10
Site Language Definition
Rating 0.0/5 (0 reviews)Active installs 10

Description

Disclaimer: This plugin was merged into WordPress Core. It is not relevant anymore to install it. I plan to ask for a removal from the repo by the end of the year.

The intent of this plugin is to provide a way to ensure any language change in the content of a page is indicated to assistive technologies. This feature is not available by default in the block editor so it is difficult to make a website fully compliant to WCAG guidelines using the block editor for now.

We clearly hope this feature will be natively implemented in the block editor in middle term, because this very simple feature is really needed to help people to create accessible websites. But in short terms, we need a solution and this plugin is a solution you may want to use to make your website compliant to accessibility guidelines 🙂

For more context: this plugin helps you to make your website compliant to the Web Content Accessibility Guidelines (WCAG) success criterion 3.1.2: “Language of Parts”. The purpose of this success Criterion is to ensure that user agents can correctly present content written in multiple languages.

As per Web Content Accessibility Guidelines:

This makes it possible for user agents and assistive technologies to present content according to the presentation and pronunciation rules for that language. This applies to graphical browsers as well as screen readers, braille displays, and other voice browsers.

Both assistive technologies and conventional user agents can render text more accurately if the language of each passage of text is identified. Screen readers can use the pronunciation rules of the language of the text. Visual browsers can display characters and scripts in appropriate ways.

This is especially important when switching between languages that read from left to right and languages that read from right to left, or when text is rendered in a language that uses a different alphabet. Users with disabilities who know all the languages used in the Web page will be better able to understand the content when each passage is rendered appropriately.

Installation

  1. Install the plugin and activate.
  2. Use the “Language attribute” toolbar button, available on any text content added in the block editor.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. Using the block editor formatting toolbar to add a language attribute.

    Using the block editor formatting toolbar to add a language attribute.

  2. Checking that the <code>lang</code> attribute is rendered on front-end.

    Checking that the lang attribute is rendered on front-end.

Changelog

0.3

  • Added support for the dir attribute.

0.2.2

  • Further internationalization fixes.

0.2.1

  • Adds wp_set_script_translations to the main script.

0.2

  • Fixes an i18n issue: JS strings were not translatable.

0.1

  • Plugin initial commit. Works fine 🙂