[a11y] Replace alternative text on image
It is not necessary to mention that it is a logo in the alternative text. Only the text contained in the image is required. For example:
<span>développé par</span> <img alt="Framasoft" src="/img/framasoft-logo-text-small.png">
<img src="/img/brand.png" alt="PeerTube" class="brand">
(we could also do without images for these texts and use font and css)
If the image is only illustrative and does not provide any information (explanations are often given after and they don't describe the image), no alternative text is required
<img src="/img/mascot/default.png" alt="" class="peertube-mascot">
<img src="/img/peertube-interface.jpg" alt="">
<img src="/img/peertube-federation-multiplicity.jpg" alt="">
…
For the language selection button, as the text anchor is given after the image, there is also no need for alternative text. However, to further explain what this button does, it needs a title
attribute.
<button … title="Change languages"><img src="/img/language.png" alt=""> … </button>