Alt text for background images

Currently we can include alt text in image settings. I would suggest we could do also in images in the background of other elements like div.

  • Othon Nin
  • Mar 28 2017
  • Already exists
  • May 17, 2017

    Admin response

    A background image is technically a "style" so you'll have to set a custom attribute for "title" for search engines to treat that element in a special way. Image attached of an example (you can do this at the bottom of your element settings). 

    More info at Stack Overflow

  • Jason Roach commented
    October 13, 2020 21:22

    With global ALT text definable site-wide within the asset panel, can we have an option to have this ALT text automatically apply as a 'title' attribute in circumstances when used as a background image and option to manually override per DIV attribute, just as we can do today with ALT text per image?

  • Jacob Miller commented
    February 04, 2020 15:10

    How do we prove is this approach actually works? Is there a new way to solve this issue to add alt text to background images?

    Does it matter if the attribute says "title" vs "alt text" to make this work?

  • Gfresh commented
    May 09, 2017 21:55

    Yes, I agree. All of my images are as background within a section. 

    The image area allows you to edit everything, except alt tag.  *cry*

  • +8