AIOSEO site health states this image has no alt text tag. How do I fix it and save the change so it solves the issue? Thanks
<div class="_9VmET" style="background-image: url("https://snw.202.myftpupload.com/wp-content/uploads/2022/12/cropped-Monstro-Video-Camera-8K-150x150.png");"></div>
Tried adding alt="camera" to div class but change doesn't save after adding change. What am I doing incorrect?
Divs don't have
altattributes. If the goal is to make this element accessible for the visually impaired, you have a number of options.You could also implement an actual image element with an
altattribute and set sizing to cover the div completely so that the layout outcome is the same. See How can I fill a div with an image while keeping it proportional?.