You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I recall, the reason for leaving the alt attribute blank was because the header image is set up to be a link to the home page, and the alt attribute would typically be an image description which would get confusing (imagine for example someone who sets up their header image as a picture of a dog. The first content link you'd hit in that circumstance would be the alt text "German Shepard with a tennis ball".)
This is, from my understanding, one of those challenging accessibility edge cases that bumps up against how people commonly use WordPress. In the short term, your easiest solution is to augment the code in header.php (in a child theme) to include the alt text. In the meantime, I'd love to hear what Rian thinks of this and what solution she would suggest.
IMHO the best solution would be to use the site title as alt for the header image.
And then, because on the home page this will be a redundant link, remove the link from the image there.
The text was updated successfully, but these errors were encountered:
This issue was raised by Stephany Watts.
IMHO the best solution would be to use the site title as alt for the header image.
And then, because on the home page this will be a redundant link, remove the link from the image there.
The text was updated successfully, but these errors were encountered: