Files
old-kitabcitab-frontend/kitabcitab/node_modules/eslint-plugin-jsx-a11y/docs/rules/html-has-lang.md
2022-12-27 12:05:56 +01:00

651 B

html-has-lang

<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