Jump to content

Why are image captions not appearing as Alt attribute text?

Recommended Posts

Posted

Hi,

I have created inline image blocks and have added captions to them. But when the image source code is viewed in the browser the code shows captions in a

tag rather than as an image Alt attribute text. Is there a way to add Alt attribute to the image tag? Thanks!alt text

 

squarespace-image-caption-no-alt-tag.png.cf9e494665e5f2a31e720712b3d4bd9e.png

  • Replies 1
  • Views 600
  • Created
  • Last Reply
Posted

I am able to see the ALT tags now so would consider this issue as resolved.

But when I test the images for accessibility and screen readers using the ChromeVox extensions it is kind of annoying as instead of captions it read out the "data-src" attribute. The solution to this issue would be to add the "title" attribute for the images and use same text as image "Alt" attribute.

Thanks!Varsha

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.