--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.jsx --- # Input ```jsx var a = ; var a =
; var a =
; var a =
; var a =
; ``` # Diagnostics ``` invalid.jsx:1:9 lint/a11y/useValidAriaProps FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The element contains invalid ARIA attribute(s) > 1 │ var a = ; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 │ var a =
; 3 │ var a =
; i aria-labell is not a valid ARIA attribute. > 1 │ var a = ; │ ^^^^^^^^^^^^^^ 2 │ var a =
; 3 │ var a =
; i Unsafe fix: Remove the invalid aria-* attribute. Check the list of all valid aria-* attributes. 1 │ var·a·=·; │ --------------- ``` ``` invalid.jsx:2:9 lint/a11y/useValidAriaProps FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The element contains invalid ARIA attribute(s) 1 │ var a = ; > 2 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^ 3 │ var a =
; 4 │ var a =
; i aria- is not a valid ARIA attribute. 1 │ var a = ; > 2 │ var a =
; │ ^^^^^^^^^^^^^^ 3 │ var a =
; 4 │ var a =
; i Unsafe fix: Remove the invalid aria-* attribute. Check the list of all valid aria-* attributes. 2 │ var·a·=·; │ --------------- ``` ``` invalid.jsx:3:9 lint/a11y/useValidAriaProps FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The element contains invalid ARIA attribute(s) 1 │ var a = ; 2 │ var a =
; > 3 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 │ var a =
; 5 │ var a =
; i aria-labeledby is not a valid ARIA attribute. 1 │ var a = ; 2 │ var a =
; > 3 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^^ 4 │ var a =
; 5 │ var a =
; i Unsafe fix: Remove the invalid aria-* attribute. Check the list of all valid aria-* attributes. 3 │ var·a·=·; │ ------------------------ ``` ``` invalid.jsx:4:9 lint/a11y/useValidAriaProps FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The element contains invalid ARIA attribute(s) 2 │ var a =
; 3 │ var a =
; > 4 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 │ var a =
; 6 │ i aria-skldjfaria-foo1 is not a valid ARIA attribute. 2 │ var a =
; 3 │ var a =
; > 4 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 │ var a =
; 6 │ i Unsafe fix: Remove the invalid aria-* attribute. Check the list of all valid aria-* attributes. 4 │ var·a·=·; │ ------------------------------ ``` ``` invalid.jsx:5:9 lint/a11y/useValidAriaProps FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The element contains invalid ARIA attribute(s) 3 │ var a =
; 4 │ var a =
; > 5 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 │ i aria-skldjfaria-foo1 is not a valid ARIA attribute. 3 │ var a =
; 4 │ var a =
; > 5 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 │ i Unsafe fix: Remove the invalid aria-* attribute. Check the list of all valid aria-* attributes. 5 │ var·a·=·; │ ------------------------------ ``` ``` invalid.jsx:5:9 lint/a11y/useValidAriaProps FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! The element contains invalid ARIA attribute(s) 3 │ var a =
; 4 │ var a =
; > 5 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 │ i aria-skldjfaria-foo222 is not a valid ARIA attribute. 3 │ var a =
; 4 │ var a =
; > 5 │ var a =
; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 │ i Unsafe fix: Remove the invalid aria-* attribute. Check the list of all valid aria-* attributes. 5 │ var·a·=·; │ -------------------------------- ```