Mandatory alt text in Image Carousel - Forum | JoomShaper
Solved SP Page Builder

Mandatory alt text in Image Carousel

Asked by Iolanda Rolfo 3 years ago Last activity 3 years ago

How to add alt value to images in the Image Carousel addon?

I need this because the page is not passing the accessibility test.

I saw that if the "Item Title" field is filled in, this value is used to give a value to the alt attribute of the image.
This could be a trick to solve the issue, but in this way the content of the "Item Title" field appears above the image and I don't want that.

Thank you

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi there!

Thanks for contacting us.

Yes, you are right. You can hide the title with CSS. Here is a sample code you may put into addon's custom CSS field:

.sppb-carousel-extended-heading{
  display: none;
}

Best Regards

1 more reply

Rashida Rahman Staff

Thanks for accepting the answer:)

Have a nice day!

Log in to reply.