--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.jsx --- # Input ```jsx <>
>; ``` # Diagnostics ``` invalid.jsx:2:7 lint/a11y/noNoninteractiveTabindex FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The HTML element div is non-interactive. Do not use tabIndex. 1 │ <> > 2 │ │ ^^^^^^^^^^^^ 3 │ 4 │ i Adding non-interactive elements to the keyboard navigation flow can confuse users. i Unsafe fix: Remove the tabIndex attribute. 2 │ → │ ------------ ``` ``` invalid.jsx:3:22 lint/a11y/noNoninteractiveTabindex FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The HTML element div is non-interactive. Do not use tabIndex. 1 │ <> 2 │ > 3 │ │ ^^^^^^^^^^^^ 4 │ 5 │ >; i Adding non-interactive elements to the keyboard navigation flow can confuse users. i Unsafe fix: Remove the tabIndex attribute. 3 │ → │ ------------ ``` ``` invalid.jsx:4:11 lint/a11y/noNoninteractiveTabindex FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The HTML element article is non-interactive. Do not use tabIndex. 2 │ 3 │ > 4 │ │ ^^^^^^^^^^^^ 5 │ >; 6 │ i Adding non-interactive elements to the keyboard navigation flow can confuse users. i Unsafe fix: Remove the tabIndex attribute. 4 │ → │ ------------- ```