---
source: crates/biome_js_analyze/tests/spec_tests.rs
expression: invalid.jsx
---
# Input
```jsx
<>
{/* invalid */}
>;
```
# Diagnostics
```
invalid.jsx:3:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
1 │ <>
2 │ {/* invalid */}
> 3 │
│ ^^^^^^^^^^
4 │
5 │
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```
```
invalid.jsx:4:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
2 │ {/* invalid */}
3 │
> 4 │
│ ^^^^^^^^
5 │
6 │
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```
```
invalid.jsx:5:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
3 │
4 │
> 5 │
│ ^^^^^^^^^^^^^^^^^^^
6 │
7 │
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```
```
invalid.jsx:6:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
4 │
5 │
> 6 │
│ ^^^^^^^^^^^^^^^^^^^^^
7 │
8 │
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```
```
invalid.jsx:7:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
5 │
6 │
> 7 │
│ ^^^^^^^^^^^^^^^^^^^^^
8 │
9 │
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```
```
invalid.jsx:8:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
6 │
7 │
> 8 │
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9 │
10 │
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```
```
invalid.jsx:9:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
7 │
8 │
> 9 │
│ ^^^^^^^^^^^^^^^^^^^^^^^^
10 │
11 │
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```
```
invalid.jsx:10:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
8 │
9 │
> 10 │
│ ^^^^^^^^^^^^^^^^^^^^^^^
11 │
12 │ >;
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```
```
invalid.jsx:11:2 lint/a11y/useIframeTitle ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Provide a title attribute when using iframe elements.
9 │
10 │
> 11 │
│ ^^^^^^^^^^^^^^^^^^^^^
12 │ >;
13 │
i Screen readers rely on the title set on an iframe to describe the content being displayed.
```