Remove unnecessary alt attributes

This commit is contained in:
Chocobozzz 2019-11-13 15:39:16 +01:00
parent d9eeadcaf0
commit df592400dd
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 18 additions and 19 deletions

View file

@ -8,7 +8,7 @@
<div class="support"> <div class="support">
<translate>developed by</translate> <translate>developed by</translate>
<img alt="Framasoft text logo" :src="buildImgUrl('framasoft-logo-text-small.png')"> <img alt="Framasoft" :src="buildImgUrl('framasoft-logo-text-small.png')">
</div> </div>
</b-navbar-brand> </b-navbar-brand>

View file

@ -107,7 +107,7 @@
<translate>Instances list</translate> <translate>Instances list</translate>
<div class="mascot-loading-block"> <div class="mascot-loading-block">
<img v-bind:class="{ animate: loadingAnimation }" v-on:animationend="loadingAnimation = false" class="mascot-loading" :src="buildImgUrl('mascot/happy.png')" alt="PeerTube mascot"> <img v-bind:class="{ animate: loadingAnimation }" v-on:animationend="loadingAnimation = false" class="mascot-loading" :src="buildImgUrl('mascot/happy.png')" alt="Loading...">
</div> </div>
</div> </div>
@ -122,13 +122,13 @@
</div> </div>
<div v-if="error" class="message"> <div v-if="error" class="message">
<img :src="buildImgUrl('mascot/defeated.png')" alt="PeerTube mascot"> <img :src="buildImgUrl('mascot/defeated.png')" alt="">
<div class="alert alert-danger">Sorry, but we cannot fetch the instances list. Please retry later.</div> <div class="alert alert-danger">Sorry, but we cannot fetch the instances list. Please retry later.</div>
</div> </div>
<div v-if="noResults" class="message"> <div v-if="noResults" class="message">
<img :src="buildImgUrl('mascot/oh.png')" alt="PeerTube mascot"> <img :src="buildImgUrl('mascot/oh.png')" alt="">
<div class="alert alert-info">Sorry, but we did not find any instance matching your filters.</div> <div class="alert alert-info">Sorry, but we did not find any instance matching your filters.</div>
</div> </div>

View file

@ -12,7 +12,7 @@
<div class="block-with-image understand"> <div class="block-with-image understand">
<div class="image-block"> <div class="image-block">
<img width="183px" height="200px" :src="buildImgUrl('mascot/pointing.svg')" alt="PeerTube mascot"> <img width="183px" height="200px" :src="buildImgUrl('mascot/pointing.svg')" alt="">
</div> </div>
<div class="text-block"> <div class="text-block">
@ -49,13 +49,13 @@
</div> </div>
<div class="image-block"> <div class="image-block">
<img width="189px" height="205px" :src="buildImgUrl('help/cat.png')" alt="Cat image"> <img width="189px" height="205px" :src="buildImgUrl('help/cat.png')" alt="">
</div> </div>
</div> </div>
<div class="block-with-image administrators"> <div class="block-with-image administrators">
<div class="image-block"> <div class="image-block">
<img width="158px" height="219px" :src="buildImgUrl('help/panda.png')" alt="Panda image"> <img width="158px" height="219px" :src="buildImgUrl('help/panda.png')" alt="">
</div> </div>
<div class="text-block"> <div class="text-block">
@ -97,7 +97,7 @@
</div> </div>
<div class="image-block"> <div class="image-block">
<img width="242px" height="221px" :src="buildImgUrl('help/dog.png')" alt="Dog image"> <img width="242px" height="221px" :src="buildImgUrl('help/dog.png')" alt="">
</div> </div>
</div> </div>

View file

@ -3,12 +3,12 @@
<section class="presentation"> <section class="presentation">
<div class="first-row"> <div class="first-row">
<img class="brand" :src="buildImgUrl('brand.png')" alt="PeerTube logo"/> <img class="brand" :src="buildImgUrl('brand.png')" alt="PeerTube"/>
<div class="description" v-translate>A free software to take back control of your videos</div> <div class="description" v-translate>A free software to take back control of your videos</div>
</div> </div>
<img class="peertube-mascot" :src="buildImgUrl(mascotPaths[currentMascot])" @click="switchMascot()" alt="PeerTube mascot"> <img class="peertube-mascot" :src="buildImgUrl(mascotPaths[currentMascot])" @click="switchMascot()" alt="">
<div class="marketing" v-translate> <div class="marketing" v-translate>
With more than 100 000 hosted videos, viewed more than 6 millions times and 20 000 users, With more than 100 000 hosted videos, viewed more than 6 millions times and 20 000 users,
@ -58,7 +58,7 @@
</div> </div>
<div class="two-columns"> <div class="two-columns">
<img :src="buildImgUrl('peertube-interface.jpg')" alt="PeerTube screen"/> <img :src="buildImgUrl('peertube-interface.jpg')" alt=""/>
<div> <div>
<div class="citation"> <div class="citation">
@ -80,7 +80,7 @@
</div> </div>
<div class="one-column"> <div class="one-column">
<img :src="buildImgUrl('peertube-federation-multiplicity.jpg')" alt="Funny federation schema"/> <img :src="buildImgUrl('peertube-federation-multiplicity.jpg')" alt=""/>
<div> <div>
<div v-translate>PeerTube is not meant to become a huge platform that would centralize videos from all around the world.</div> <div v-translate>PeerTube is not meant to become a huge platform that would centralize videos from all around the world.</div>
@ -122,7 +122,7 @@
</div> </div>
<div class="one-column"> <div class="one-column">
<img :src="buildImgUrl('peertube-federation-2-instances.jpg')" alt="Funny 2 instances communication schema"/> <img :src="buildImgUrl('peertube-federation-2-instances.jpg')" alt=""/>
<p v-translate> <p v-translate>
And there's more! PeerTube uses Activity Pub, a federating protocol that <strong>allows you to interact with other And there's more! PeerTube uses Activity Pub, a federating protocol that <strong>allows you to interact with other
@ -148,7 +148,7 @@
</div> </div>
<div class="one-column"> <div class="one-column">
<img :src="buildImgUrl('peertube-free-software.jpg')" alt="PeerTube is a free software funny schema"/> <img :src="buildImgUrl('peertube-free-software.jpg')" alt=""/>
<p v-translate> <p v-translate>
Mainstream online video broadcasting services make money off of your data by analyzing your interactions Mainstream online video broadcasting services make money off of your data by analyzing your interactions
@ -194,7 +194,7 @@
</div> </div>
<div class="one-column"> <div class="one-column">
<img :src="buildImgUrl('peertube-upload.jpg')" alt="PeerTube upload illustration"/> <img :src="buildImgUrl('peertube-upload.jpg')" alt=""/>
<div class="citation"> <div class="citation">
<div class="left-bar"></div> <div class="left-bar"></div>
@ -237,7 +237,7 @@
</div> </div>
<div class="one-column"> <div class="one-column">
<img :src="buildImgUrl('peertube-p2p.jpg')" alt="PeerTube P2P illustration"/> <img :src="buildImgUrl('peertube-p2p.jpg')" alt=""/>
<div class="citation"> <div class="citation">
<div class="left-bar"></div> <div class="left-bar"></div>
@ -270,7 +270,7 @@
</div> </div>
<div class="one-column"> <div class="one-column">
<img :src="buildImgUrl('your-move.jpg')" alt="PeerTube you play illustration"/> <img :src="buildImgUrl('your-move.jpg')" alt=""/>
</div> </div>
<div class="buttons-row explore-create-account"> <div class="buttons-row explore-create-account">
@ -304,7 +304,7 @@
</div> </div>
<div class="two-columns"> <div class="two-columns">
<img class="framasoft-logo" :src="buildImgUrl('framasoft-big-logo.png')" alt="Framasoft logo"/> <img class="framasoft-logo" :src="buildImgUrl('framasoft-big-logo.png')" alt=""/>
<div> <div>
<p v-translate> <p v-translate>
@ -509,7 +509,6 @@
'mascot/default.png', 'mascot/default.png',
'mascot/arguing.png', 'mascot/arguing.png',
'mascot/oh.png', 'mascot/oh.png',
'mascot/defeated.png',
'mascot/happy.png' 'mascot/happy.png'
], ],
currentMascot: 0 currentMascot: 0