Forum Replies Created
Ok, since there’s no response:
For anyone considering buying this theme: don’t
Many of the images do NOT output their Alt or Title tags as part of the the standard HTML tag.
Not only is this bad for SEO, it is also not HTML compliant.
Also, no one seems to be interested in fixing it.
Spend your money somewhere else where the devs care about their product.
Your theme is not HTML compliant.
This is an easy patch.
Is there an update to this?
If you’re outputting images to the screen they should have the alt tags.
Just being clear, though: ALL images should display the ALT tag unless specifically told not to. This is a best practice for HTML, required by SEO and required by all screen readers, etc.
What I mean is that there is no clickable element in the tag.
This is how it outputs to the browser:
<a id="mobile-trigger" href="#mob-menu"><i class="fa fa-bars"></i></a>
That is an “empty” href. There is no clickable item within the anchor the tag, so therefore it is empty.
You cannot click on this:
<i class="fa fa-bars"></i>
HREFs should never be empty.
Can someone respond to this?
We just need to know what the param is so we can include it in the output.
The alt tag is filled out.
Your code does not output the alt tag.
This is your code that appears in inc/widgets.php
<div class="testimonial-thumb"><img src="<?php echo esc_url( $testimonial['image'] );?>"
It does not output the alt tag, so you need to update it.
Or, can you just tell me if the alt tag is included as a param that can be output?
The testimonials section is dynamic based on posts.
It is pulling in dynamic images from, I presume, the WordPress media? If so, it should be bringing in the Alt Tag for that media item.
Is the Alt Tag content not available as a param in the array that spits out the testimonials?
If not, it should be. All image output should have the alt tag, regardless of there being any alt tag in the media section.
Sorry, here’s the code:
<div class="testimonial-thumb"><img src="<?php echo esc_url( $testimonial['image'] ); ?>"