--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.jsx --- # Input ```jsx ; ;
; ; ; ; ; ; ; ; ``` # Diagnostics ``` invalid.jsx:1:22 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. > 1 │ ; │ ^^^^^^^^^^^^^ 2 │ ; 3 │ ; i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 1 │ ; │ -------------- ``` ``` invalid.jsx:2:9 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 1 │ ; > 2 │ ; │ ^^^^^^^^^^^^^ 3 │ ; 4 │ ; i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 2 │ ; │ ------------- ``` ``` invalid.jsx:3:6 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 1 │ ; 2 │ ; > 3 │ ; │ ^^^^^^^^^^^^^ 4 │ ; 5 │ ; i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 3 │ ; │ -------------- ``` ``` invalid.jsx:4:6 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 2 │ ; 3 │ ; > 4 │ ; │ ^^^^^^^^^^^^^^^ 5 │ ; 6 │ ; i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 4 │ ; │ ---------------- ``` ``` invalid.jsx:5:6 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 3 │ ; 4 │ ; > 5 │ ; │ ^^^^^^^^^^^^^^^^^^ 6 │ ; 7 │ ; i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 5 │ ; │ ------------------- ``` ``` invalid.jsx:6:6 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 4 │ ; 5 │ ; > 6 │ ; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 │ ; 8 │ ; i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 6 │ ; │ ---------------------------------------- ``` ``` invalid.jsx:7:6 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 5 │ ; 6 │ ; > 7 │ ; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 │ ; 9 │ ; i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 7 │ ; │ ----------------------------- ``` ``` invalid.jsx:8:6 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 6 │ ; 7 │ ; > 8 │ ; │ ^^^^^^^^^^^^^^^^^^^^^ 9 │ ; 10 │ ; i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 8 │ ; │ ---------------------- ``` ``` invalid.jsx:9:6 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 7 │ ; 8 │ ; > 9 │ ; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^ 10 │ ; 11 │ i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 9 │ ; │ --------------------------- ``` ``` invalid.jsx:10:6 lint/a11y/noAccessKey FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid the accessKey attribute to reduce inconsistencies between keyboard shortcuts and screen reader keyboard comments. 8 │ ; 9 │ ; > 10 │ ; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11 │ i Assigning keyboard shortcuts using the accessKey attribute leads to inconsistent keyboard actions across applications. i Unsafe fix: Remove the accessKey attribute. 10 │ ; │ --------------------------------------- ```