- This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm working on SEO on one of my sites and noticed that the theme images do not have any associated alt tags. Is there a way to include alt tags in the theme images, such as this one?
Images in themes tend to be shown as background images, and therefore don't require alt attributes (not tags). They do not contribute to the content of the site, and therefore no alternative representation needs to be given.
For the example you've given, even if it is displayed inline (which would be less than ideal), the alt attribute should be an empty string (
alt=""). It is purely for visual design, and again, has no bearing on the content and so no alternative text is needed. If you did give it, then screen readers would read out the redundant text and that would just distract from the actual content.
The main thing to consider here, is that alt attributes re for human screen reader users. Any SEO benefit is most definitely a secondary factor, so trying to cater for SEO first will give poor results for your visitors.
Gary: Makes a lot of sense. Thanks for clarifying background images vs content images.
© 2023 WPEngine, Inc.