Files
bzzz/install/config-ui/node_modules/eslint-plugin-jsx-a11y/docs/rules/html-has-lang.md
anthonyrawlins c177363a19 Save current BZZZ config-ui state before CHORUS branding update
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 00:19:00 +10:00

791 B

jsx-a11y/html-has-lang

💼 This rule is enabled in the following configs: ☑️ recommended, 🔒 strict.

<html> elements must have the lang prop. This rule is largely superseded by the [`lang` rule](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/lang.md).

Rule details

This rule takes no arguments.

Succeed

<html lang="en">
<html lang="en-US">
<html lang={language}>

Fail

<html>

Accessibility guidelines

Resources