Jump to content

Multiple 'alt' attribute in same ‘<img>’ element.

Recommended Posts

HI All.

I have added Alt text attributes for images using the "IMAGE ALT TEXT" function.

However, the code generated by squarespace is including multiple 'alt' attributes in same ‘<img>’ element.

The first alt attribute correctly lists the Alt text that I have inputted but the second is showing an empty value ('alt=""').

It seems that the empty value is overriding the Alt text that I have added and Bing is showing an error message "Alt attribute for images is missing" and is therefore not indexing the page correctly.

Can anyone give me any advice as to how to rectify this?

Link to comment
  • Replies 1
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

5 hours ago, Sandigidy said:

the code generated by squarespace is including multiple 'alt' attributes in same ‘<img>’ element

Have you added custom code that could be causing this issue? If you aren't using custom code, you are encouraged to inform Squarespace directly by raising a ticket through Squarespace Customer Support

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.