Closed lpirl closed 4 years ago
Good idea. I searched around a bit (1. 2) and decided on providing an empty alt (alt=""
). Standards or validity aside, from the accessibility PoV the logo is non-essential, so saying "logo of SITENAME" is just noise, especially when SITENAME is repeated right after. From what I understood, omitting the alt altogether conveys the meaning of "we didn't bother with accessibility", so an empty alt suggests that "we care about accessibility but this image is not important, ignore it".
Pushed as 76f5921f35f35db62574da16d019dce4e9b7ca41, updating all three themes.
Great! Thanks for the instant and considered improvement.
base.html
generates animg
tag without analt
attribute. However, the w3c requires images to have alternative texts. If we don't want to introduce a new configuration option, we could at least set the alternative text to "logo ofSITENAME
" or similar.