I need to provide alt text for all my images, but I was not thinking about that when I put all my background images in the CSS under the body tag. The following is my my background image in my CSS that I need to add alt text to:
body
{
background: url('contact.jpg') no-repeat center center fixed;
box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5), 0 0 0 1000px rgba(0,0,0,.5);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
For other images that I put in the CSS I have been using:
<span class="background-image" role="img" aria-label="Cook in the rue de Stamboul, Constantinople, Turkey"> </span>
However, because I am using the body tag for the other background images there is no class. Therefore, I do not know how to provide the alt text for those background images. I would really appreciate y'alls help.