How do I add alt text to background images?


How do I add alternative text to describe background images? Or do I not need to worry about that?


No, usually background images do not need alt tags. If you're using an image tag to display an image then it needs an alt tag, but if you're using an image to style the background of a block of content, it does not need an alt tag. This is because the image only appears as part of the container elements style, and not within the actual markup.