--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.jsx --- # Input ```jsx <> ``` # Diagnostics ``` invalid.jsx:2:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 1 │ <> > 2 │ │ ^^^^^^^^ 3 │ 4 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:3:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 1 │ <> 2 │ > 3 │ │ ^^^^^^ 4 │ 5 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:4:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 2 │ 3 │ > 4 │ │ ^^^^^^^^^^^^^^ 5 │ 6 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:5:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 3 │ 4 │ > 5 │ │ ^^^^^^^^^^^^^^^^ 6 │ 7 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:6:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 4 │ 5 │ > 6 │ │ ^^^^^^^^^^^^^^^^ 7 │ 8 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:7:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 5 │ 6 │ > 7 │ │ ^^^^^^^^^^^^^^^^^^ 8 │ 9 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:8:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 6 │ 7 │ > 8 │ │ ^^^^^^^^^^^^^^^^^^^ 9 │ 10 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:9:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 7 │ 8 │ > 9 │ │ ^^^^^^^^^^^^^^^^^^^^^^^ 10 │ 11 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:10:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 8 │ 9 │ > 10 │ │ ^^^^^^^^^^^^^^^^^^ 11 │ 12 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ``` ``` invalid.jsx:11:5 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a lang attribute when using the html element. 9 │ 10 │ > 11 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^ 12 │ i Setting a lang attribute on HTML document elements configures the languageused by screen readers when no user default is specified. ```