Kevin Powell - CommunityKP-C
Kevin Powell - Communityโ€ข3y agoโ€ข
44 replies
vince

Image for heading

I'm curious on this. Typically, I always thought that having an image for a heading is bad practice, but what if you add it into a heading tag with descriptive alt text? Something like:

<h2>
  <img src="" alt="Heading text (something like About Us)" />
</h2>


Possible use cases would be a very stylized font design made in Photoshop/Illustrator/etc.

I'm looking at this from an SEO standpoint. The search engine would be able to read the alt text (as would a user relying on assistive technologies), and it's inside a heading tag, so the search engine should be able to understand it's importance accordingly.
Was this page helpful?