Add rel=noopener noreferrer to target=_blank links
This commit is contained in:
@@ -61,6 +61,7 @@
|
|||||||
v-bind:aria-label="item.description + (item.target_blank ? ' (opens in new tab)' : '')"
|
v-bind:aria-label="item.description + (item.target_blank ? ' (opens in new tab)' : '')"
|
||||||
v-bind:href="item.link"
|
v-bind:href="item.link"
|
||||||
v-bind:target="item.target_blank"
|
v-bind:target="item.target_blank"
|
||||||
|
v-bind:rel="item.target_blank ? 'noopener noreferrer' : null"
|
||||||
>
|
>
|
||||||
<hamburger-component v-bind:item="item"></hamburger-component>
|
<hamburger-component v-bind:item="item"></hamburger-component>
|
||||||
</a>
|
</a>
|
||||||
@@ -209,6 +210,7 @@
|
|||||||
<a
|
<a
|
||||||
href="http://kbcc.ezproxy.cuny.edu/login?url=https://search.ebscohost.com/login.aspx?authtype=ip,uid&custid=s9000138&profile=ehost&defaultdb=a9h"
|
href="http://kbcc.ezproxy.cuny.edu/login?url=https://search.ebscohost.com/login.aspx?authtype=ip,uid&custid=s9000138&profile=ehost&defaultdb=a9h"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
class="ga-library-links"
|
class="ga-library-links"
|
||||||
aria-label="Academic Search Complete (opens in new tab)"
|
aria-label="Academic Search Complete (opens in new tab)"
|
||||||
>
|
>
|
||||||
@@ -220,6 +222,7 @@
|
|||||||
<a
|
<a
|
||||||
href="http://kbcc.ezproxy.cuny.edu/login?url=https://search.proquest.com/usmajordailies/advanced/news/fromDatabasesLayer?accountid=38336"
|
href="http://kbcc.ezproxy.cuny.edu/login?url=https://search.proquest.com/usmajordailies/advanced/news/fromDatabasesLayer?accountid=38336"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
class="ga-library-links"
|
class="ga-library-links"
|
||||||
aria-label="US Newspapers (opens in new tab)"
|
aria-label="US Newspapers (opens in new tab)"
|
||||||
>
|
>
|
||||||
@@ -231,6 +234,7 @@
|
|||||||
<a
|
<a
|
||||||
href="http://www.nytimes.com/passes"
|
href="http://www.nytimes.com/passes"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
class="ga-library-links"
|
class="ga-library-links"
|
||||||
aria-label="NY Times Free Pass (opens in new tab)"
|
aria-label="NY Times Free Pass (opens in new tab)"
|
||||||
>
|
>
|
||||||
@@ -290,6 +294,7 @@
|
|||||||
aria-label="Instagram (opens in new tab)"
|
aria-label="Instagram (opens in new tab)"
|
||||||
href="https://www.instagram.com/kbcclibrary/"
|
href="https://www.instagram.com/kbcclibrary/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<i aria-hidden="true" class="fab fa-instagram"></i>
|
<i aria-hidden="true" class="fab fa-instagram"></i>
|
||||||
</a>
|
</a>
|
||||||
@@ -297,6 +302,7 @@
|
|||||||
aria-label="Goodreads (opens in new tab)"
|
aria-label="Goodreads (opens in new tab)"
|
||||||
href="https://www.goodreads.com/user/show/51717966-kingsborough-library"
|
href="https://www.goodreads.com/user/show/51717966-kingsborough-library"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<i aria-hidden="true" class="fab fa-goodreads"></i>
|
<i aria-hidden="true" class="fab fa-goodreads"></i>
|
||||||
</a>
|
</a>
|
||||||
@@ -304,6 +310,7 @@
|
|||||||
aria-label="TikTok (opens in new tab)"
|
aria-label="TikTok (opens in new tab)"
|
||||||
href="https://www.tiktok.com/@kbcclibrary?lang=en"
|
href="https://www.tiktok.com/@kbcclibrary?lang=en"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<i aria-hidden="true" class="fab fa-tiktok"></i>
|
<i aria-hidden="true" class="fab fa-tiktok"></i>
|
||||||
</a>
|
</a>
|
||||||
@@ -311,6 +318,7 @@
|
|||||||
aria-label="YouTube (opens in new tab)"
|
aria-label="YouTube (opens in new tab)"
|
||||||
href="https://www.youtube.com/channel/UCpeJWrnzLXEizw8cMvVp-_Q/videos"
|
href="https://www.youtube.com/channel/UCpeJWrnzLXEizw8cMvVp-_Q/videos"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<i aria-hidden="true" class="fab fa-youtube"></i>
|
<i aria-hidden="true" class="fab fa-youtube"></i>
|
||||||
</a>
|
</a>
|
||||||
@@ -318,6 +326,7 @@
|
|||||||
aria-label="Spotify (opens in new tab)"
|
aria-label="Spotify (opens in new tab)"
|
||||||
href="https://open.spotify.com/user/313lfmvr4ezmkb2mhodzd5ubzg4a"
|
href="https://open.spotify.com/user/313lfmvr4ezmkb2mhodzd5ubzg4a"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<i aria-hidden="true" class="fab fa-spotify"></i>
|
<i aria-hidden="true" class="fab fa-spotify"></i>
|
||||||
</a>
|
</a>
|
||||||
@@ -327,6 +336,7 @@
|
|||||||
<a
|
<a
|
||||||
href="https://www.cuny.edu"
|
href="https://www.cuny.edu"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
aria-label="CUNY (opens in new tab)"
|
aria-label="CUNY (opens in new tab)"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ const navigComponent = {
|
|||||||
v-bind:aria-label="item.description + (item.target_blank ? ' (opens in new tab)' : '')"
|
v-bind:aria-label="item.description + (item.target_blank ? ' (opens in new tab)' : '')"
|
||||||
v-bind:href="item.link"
|
v-bind:href="item.link"
|
||||||
v-bind:target="item.target_blank"
|
v-bind:target="item.target_blank"
|
||||||
|
v-bind:rel="item.target_blank ? 'noopener noreferrer' : null"
|
||||||
>
|
>
|
||||||
<div class="bigger-fancy-text">
|
<div class="bigger-fancy-text">
|
||||||
<i v-bind:class="item.icon" aria-hidden="true"></i>
|
<i v-bind:class="item.icon" aria-hidden="true"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user