--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.jsx --- # Input ```jsx <>
> ``` # Diagnostics ``` invalid.jsx:2:13 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 1 │ <> > 2 │ │ ^^^^^^^^^ 3 │ 4 │ i Unsafe fix: Remove the autoFocus attribute. 2 │ ···· │ ---------- ``` ``` invalid.jsx:3:12 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 1 │ <> 2 │ > 3 │ │ ^^^^^^^^^ 4 │ 5 │ i Unsafe fix: Remove the autoFocus attribute. 3 │ ···· │ ---------- ``` ``` invalid.jsx:4:12 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 2 │ 3 │ > 4 │ │ ^^^^^^^^^^^^^^^^ 5 │ 6 │ i Unsafe fix: Remove the autoFocus attribute. 4 │ ···· │ ----------------- ``` ``` invalid.jsx:5:12 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 3 │ 4 │ > 5 │ │ ^^^^^^^^^^^^^^^^^^^^^ 6 │ 7 │ i Unsafe fix: Remove the autoFocus attribute. 5 │ ···· │ ---------------------- ``` ``` invalid.jsx:6:12 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 4 │ 5 │ > 6 │ │ ^^^^^^^^^^^^^^^^^^^ 7 │ 8 │ i Unsafe fix: Remove the autoFocus attribute. 6 │ ···· │ -------------------- ``` ``` invalid.jsx:7:12 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 5 │ 6 │ > 7 │ │ ^^^^^^^^^^^^^^^^^^^ 8 │ 9 │ i Unsafe fix: Remove the autoFocus attribute. 5 5 │ 6 6 │ 7 │ - ···· 7 │ + ···· 8 8 │ 9 9 │ ``` ``` invalid.jsx:8:24 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 6 │ 7 │ > 8 │ │ ^^^^^^^^^^^^^^^^^^^ 9 │ 10 │ i Unsafe fix: Remove the autoFocus attribute. 8 │ ···· │ -------------------- ``` ``` invalid.jsx:9:12 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 7 │ 8 │ > 9 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10 │ 11 │ i Unsafe fix: Remove the autoFocus attribute. 9 │ ···· │ -------------------------------- ``` ``` invalid.jsx:10:24 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 8 │ 9 │ > 10 │ │ ^^^^^^^^^^^^^^^^^^^ 11 │ 12 │ i Unsafe fix: Remove the autoFocus attribute. 8 8 │ 9 9 │ 10 │ - ···· 10 │ + ···· 11 11 │ 12 12 │ ``` ``` invalid.jsx:11:10 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 9 │ 10 │ > 11 │ │ ^^^^^^^^^ 12 │ 13 │ i Unsafe fix: Remove the autoFocus attribute. 11 │ ···· │ ---------- ``` ``` invalid.jsx:12:10 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 10 │ 11 │ > 12 │ │ ^^^^^^^^^^^^^^^^ 13 │ 14 │ > i Unsafe fix: Remove the autoFocus attribute. 12 │ ···· │ ----------------- ``` ``` invalid.jsx:13:10 lint/a11y/noAutofocus FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the autoFocus attribute. 11 │ 12 │ > 13 │ │ ^^^^^^^^^^^^^^^^^ 14 │ > 15 │ i Unsafe fix: Remove the autoFocus attribute. 13 │ ···· │ ------------------ ```