---
source: crates/biome_js_analyze/tests/spec_tests.rs
expression: invalid.jsx
---
# Input
```jsx
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
var a = ;
```
# Diagnostics
```
invalid.jsx:1:31 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-checked is not correct.
> 1 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^
2 │ var a = ;
3 │ var a = ;
i The only supported value for the aria-checked property one of the following:
- true
- false
- mixed
```
```
invalid.jsx:2:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-autocomplete is not correct.
1 │ var a = ;
> 2 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
3 │ var a = ;
4 │ var a = ;
i The only supported value for the aria-autocomplete property is one of the following:
- inline
- list
- both
- none
```
```
invalid.jsx:3:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-invalid is not correct.
1 │ var a = ;
2 │ var a = ;
> 3 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^
4 │ var a = ;
5 │ var a = ;
i The only supported value for the aria-invalid property is one of the following:
- grammar
- false
- spelling
- true
```
```
invalid.jsx:5:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-invalid is not correct.
3 │ var a = ;
4 │ var a = ;
> 5 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^^
6 │ var a = ;
7 │ var a = ;
i The only supported value for the aria-invalid property is one of the following:
- grammar
- false
- spelling
- true
```
```
invalid.jsx:6:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-errormessage is not correct.
4 │ var a = ;
5 │ var a = ;
> 6 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^^
7 │ var a = ;
8 │ var a = ;
i The only supported value is text.
```
```
invalid.jsx:7:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-relevant is not correct.
5 │ var a = ;
6 │ var a = ;
> 7 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^^^
8 │ var a = ;
9 │ var a = ;
i The values supported for aria-relevant property are one or more of the following:
- additions
- all
- removals
- text
```
```
invalid.jsx:8:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-labelledby is not correct.
6 │ var a = ;
7 │ var a = ;
> 8 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^
9 │ var a = ;
10 │ var a = ;
i The only supported value is text.
```
```
invalid.jsx:9:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-labelledby is not correct.
7 │ var a = ;
8 │ var a = ;
> 9 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^^
10 │ var a = ;
11 │ var a = ;
i The only supported value is text.
```
```
invalid.jsx:10:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-labelledby is not correct.
8 │ var a = ;
9 │ var a = ;
> 10 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^^
11 │ var a = ;
12 │ var a = ;
i The only supported value is text.
```
```
invalid.jsx:11:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-details is not correct.
9 │ var a = ;
10 │ var a = ;
> 11 │ var a = ;
│ ^^^^^^^^^^^^^^^
12 │ var a = ;
13 │ var a = ;
i The only supported value is text.
```
```
invalid.jsx:12:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-setsize is not correct.
10 │ var a = ;
11 │ var a = ;
> 12 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^
13 │ var a = ;
14 │ var a = ;
i The only value supported is a number without fractional components.
```
```
invalid.jsx:13:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-valuemax is not correct.
11 │ var a = ;
12 │ var a = ;
> 13 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^
14 │ var a = ;
15 │ var a = ;
i The only supported value is number.
```
```
invalid.jsx:14:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-dropeffect is not correct.
12 │ var a = ;
13 │ var a = ;
> 14 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^^^
15 │ var a = ;
16 │
i The values supported for aria-dropeffect property are one or more of the following:
- copy
- execute
- link
- move
- none
- popup
```
```
invalid.jsx:15:15 lint/a11y/useValidAriaValues ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! The value of the ARIA attribute aria-orientation is not correct.
13 │ var a = ;
14 │ var a = ;
> 15 │ var a = ;
│ ^^^^^^^^^^^^^^^^^^^^^^
16 │
i The only supported value for the aria-orientation property is one of the following:
- vertical
- undefined
- horizontal
```