On our blogs, we use a background image on certain GP blocks. For SEO, we would really like for the alt text and title to be included in the page source for the image. We are adding these to the media library before linking to the background.

Container Block background set to the image from the media library.

The page source includes the url but not associated alt text and title.

I can edit attributes for the entire block, but this isn’t ideal as it’s not associated with the image itself.

The alt text and title will display in page source associated with the entire container, but not the image.

Is there an alternate way I should approach this?