How to add TITLE and LOADING attributes to a background image in a DIV?

Hi there,
I’m using a background image on a DIV element within a section, and I’d like to add the title and loading attributes to that image for accessibility and performance reasons.
So far, I can only customize the alt attribute via the UI.

Is there a way (maybe with custom attributes or a filter) to also include the title and loading="lazy" attributes on a background image?

Thanks in advance for your help!

Hello @Jloupf,

Thanks for writing to us.

Regretfully there is no option at the moment. It would require custom development. I would suggest you please get in touch with a developer who can assist you with your concerns or you may subscribe to One where customization questions are answered. Please note we don’t provide custom development support it is out of the support scope.

Thanks for understanding