Mandatory Alt Text In Image Carousel - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Mandatory Alt Text In Image Carousel

IR

Iolanda Rolfo

SP Page Builder 2 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

0
2 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #131539

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

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #131671

Thanks for accepting the answer:)

Have a nice day!

0