Hello, I figured out to tag images. But I don’t know how to tag a hero_image, the image in the header. Diagnose shows to me, that one image is without alt.
Would be great to get support.
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Solved by pamtbaau View solution
Please read at least the "Provide context for your question" part of this topic
I installed the Blog Site Skeleton, updated it to 1.7.49.5., with Quark Theme 2.0.0. The plugins I use are those shipped by the installation package.
There are no program errors, but SEO analysis shows that the header image (hero_image) has no alt tag.
I hope these additional details are sufficient for you to answer my support request.
@farf, In that case, the header image cannot have an alt attribute, because it is a background image. Only <img> elements can have an alt attribute.
<section id="blog-hero"
class="section modular-hero hero text-light title-h1h2 overlay-dark-gradient hero-large parallax "
style="background-image: url('/user/pages/01.blog/mountain.jpg');">
<div class="image-overlay"></div>
<section class="container grid-xl" style="text-align: center">
<h1>My <strong>Grav</strong>tastic Blog</h1>
<h2>the ramblings of a rambler</h2>
</section>
<i id="to-start" class="pulse fa fa-angle-down"></i>
</section>
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 74 | 6 hours ago | ||
| 1 | 47 | 11 hours ago | ||
| 0 | 43 | 23 hours ago | ||
| 6 | 346 | 5 days ago | ||
| 3 | 39 | 5 days ago |