---
source: crates/biome_js_analyze/tests/spec_tests.rs
expression: invalid.jsx
---
# Input
```jsx
<>
>
```
# Diagnostics
```
invalid.jsx:2:8 lint/a11y/noBlankTarget FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
1 │ <>
> 2 │
│ ^^^^^^^^^^^^^^^
3 │
4 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
i Safe fix: Add the rel="noreferrer" attribute.
2 │ ····
│ +++++++++++++++++
```
```
invalid.jsx:3:8 lint/a11y/noBlankTarget FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
1 │ <>
2 │
> 3 │
│ ^^^^^^^^^^^^^^^
4 │
5 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
i Safe fix: Add the "noreferrer" to the existing attribute.
3 │ ····
│ +++++++++++
```
```
invalid.jsx:4:8 lint/a11y/noBlankTarget ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
2 │
3 │
> 4 │
│ ^^^^^^^^^^^^^^^
5 │
6 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
```
```
invalid.jsx:5:8 lint/a11y/noBlankTarget ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
3 │
4 │
> 5 │
│ ^^^^^^^^^^^^^^^
6 │
7 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
```
```
invalid.jsx:6:8 lint/a11y/noBlankTarget ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
4 │
5 │
> 6 │
│ ^^^^^^^^^^^^^^^
7 │
8 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
```
```
invalid.jsx:7:8 lint/a11y/noBlankTarget FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
5 │
6 │
> 7 │
│ ^^^^^^^^^^^^^^^
8 │
9 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
i Safe fix: Add the "noreferrer" to the existing attribute.
7 │ ····
│ +++++++++++
```
```
invalid.jsx:8:8 lint/a11y/noBlankTarget FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
6 │
7 │
> 8 │
│ ^^^^^^^^^^^^^^^
9 │
10 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
i Safe fix: Add the "noreferrer" to the existing attribute.
8 │ ····
│ +++++++++++
```
```
invalid.jsx:9:8 lint/a11y/noBlankTarget ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
7 │
8 │
> 9 │
│ ^^^^^^^^^^^^^^^
10 │
11 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
```
```
invalid.jsx:10:8 lint/a11y/noBlankTarget ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
8 │
9 │
> 10 │
│ ^^^^^^^^^^^^^^^
11 │
12 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
```
```
invalid.jsx:11:8 lint/a11y/noBlankTarget FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
9 │
10 │
> 11 │
│ ^^^^^^^^^^^^^^^
12 │
13 │ >
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
i Safe fix: Add the rel="noreferrer" attribute.
11 │ ····
│ +++++++++++++++++
```
```
invalid.jsx:12:8 lint/a11y/noBlankTarget FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Avoid using target="_blank" without rel="noreferrer".
10 │
11 │
> 12 │
│ ^^^^^^^^^^^^^^^^^
13 │ >
14 │
i Opening external links in new tabs without rel="noreferrer" is a security risk. See the explanation for more details.
i Safe fix: Add the rel="noreferrer" attribute.
12 │ ····
│ +++++++++++++++++
```