Hi there,
When using the advanced background layer <img/>
element I noticed that the alt text is not automatically pulled from the Media Library, even if the image has an alt attribute set. This differs from the regular Image element, which does correctly pull the alt text by default.
I discovered this after a colleague mentioned sometimes the alt text shows up, and sometimes it doesn’t. After testing, I confirmed that this only affects the <img/>
background layer setup.
Is this expected?
- Pro version: 6.6.10 & 6.7.0
- WordPress version: 6.8.2
- PHP version: 8.3