Add lang attribute to the text formatting toolbar in the block editor.
As of April 2026, Lang Attribute for the Block Editor is a WordPress lang plugin with 100 active installations and a 4.7/5 rating from 3 reviews. It has been downloaded 9.7K+ times in total. Requires WordPress 5.9+ and PHP 7.0+. Available on WordPress.org since 2022. Top alternative: Juiz Lang Attribute.
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 gu…
| WordPress | 5.9+ requiredTested up to 6.9.4 |
| PHP | 7.0+ required |
dir attribute.Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.