]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Adding missing rel attribute on links.
authorBastien Wirtz <bastien.wirtz@gmail.com>
Sat, 30 May 2020 01:48:46 +0000 (18:48 -0700)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Sat, 30 May 2020 22:01:09 +0000 (15:01 -0700)
src/App.vue
src/components/Navbar.vue
src/components/Service.vue

index a35699785df88cd9ebf2903e6118d64555c0f245..be16234d4d2b08c45dc89309d0f8b14799b8fd77 100644 (file)
@@ -13,7 +13,7 @@
       <section v-if="config.header" class="first-line">
         <div v-cloak class="container">
           <div class="logo">
-            <img v-if="config.logo" :src="config.logo" />
+            <img v-if="config.logo" :src="config.logo" alt="dashboard logo" />
             <i v-if="config.icon" :class="config.icon"></i>
           </div>
           <div class="dashboard-title">
index a64ff3b96c595025ff4d94dae22ba6367e2856df..d3ceaf89aa068152fbfd489321ca8620cc2df223 100644 (file)
@@ -20,6 +20,7 @@
           <div class="navbar-start">
             <a
               class="navbar-item"
+              rel="noreferrer"
               v-for="link in links"
               :key="link.url"
               :href="link.url"
index d27b17bc50e65c07d81ee882e3f13984b851439b..a2448ca28abe8a4a0d652b4f38db493324547c9a 100644 (file)
@@ -1,12 +1,12 @@
 <template>
   <div>
     <div class="card">
-      <a :href="item.url" :target="item.target">
+      <a :href="item.url" :target="item.target" rel="noreferrer">
         <div class="card-content">
           <div class="media">
             <div v-if="item.logo" class="media-left">
               <figure class="image is-48x48">
-                <img :src="item.logo" />
+                <img :src="item.logo" :alt="`${item.name} logo`" />
               </figure>
             </div>
             <div v-if="item.icon" class="media-left">