You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The noBlankTarget checks for a security issue had caused by <a href="..." target="_blank">. However, browsers have been mitigating this issue for years. Currently, window.opener is null by default when the target attribute is _blank so that the issue doesn't happen.
I believe that we should exclude this from the recommended rules.
Environment information
Rule name
a11y/noBlankTarget
Playground link
https://biomejs.dev/playground/?code=PABhACAAaAByAGUAZgA9ACIAaAB0AHQAcABzADoALwAvAGUAeABhAG0AcABsAGUALgBjAG8AbQAvACIAIAB0AGEAcgBnAGUAdAA9ACIAXwBiAGwAYQBuAGsAIgA%2BAGwAaQBuAGsAPAAvAGEAPgA%3D
Expected result
The noBlankTarget checks for a security issue had caused by
<a href="..." target="_blank">
. However, browsers have been mitigating this issue for years. Currently,window.opener
is null by default when thetarget
attribute is_blank
so that the issue doesn't happen.I believe that we should exclude this from the recommended rules.
target="_blank"
target="_blank"
target="_blank"
target="_blank"
target="_blank"
Code of Conduct
The text was updated successfully, but these errors were encountered: