Bug in Image Carousel module — alt text broken by automatic quote insertion
Chañaral Ortega
Hi,
I have identified a bug in the DSM Image Carousel module that incorrectly formats the alt attribute of images.
What I set in the WordPress media library alt text field:
Grand jardinière-portique en majolique polychrome à figures féminines et guirlandes, paire de vases en marbre, pendule Empire en bronze doré, XIXe siècle
What is generated in the HTML:
htmlalt="Grand" jardinière-portique en majolique polychrome...
What happens:
The module takes the first word of the alt text, wraps it in double quotes, and drops the rest of the text outside the attribute. This completely breaks the HTML structure — Google only reads alt="Grand" and the rest of the text is orphaned outside the attribute.
Impact:
This is a serious SEO issue as all image alt texts in the carousel are broken.
Note:
This bug does not occur on another website using the same module, so it may be related to a specific configuration or version conflict.
Environment:
Supreme Modules Pro version : 5.0.0-beta.17
Divi version : 5.0.1
PHP version : 8.4.18
WordPress version : 6.9.1
Could you please investigate and provide a fix?
Thank you.