Hi Support,
please visit the following article on my website:
https://www.motivationsheld.de/intrinsische-motivation-foerdern-intrinsisch-motiviert/
My SEO tool warned me that the featured image has no ALT attribute.
And indeed: If you look at the source code of this page, the featured image comes up with the following:

I entered my keyword for this image under “MEDIA” in the “ALT ATTRIBUTE” window as usual. But:
ERROR: No ALT ATTRIBUTE is defined in the source code. There is not even an empty ALT ATTRIBUTE (alt=” “) for this image ???
Further down in this article I have integrated an image into the continuous text for test purposes. The ALT ATTRIBUTE of THIS image is very well defined and also displayed:

My question: Why isn’t the ALT ATTRIBUTE defined for the featured image? Did I accidentally change or disable something in the theme panel? I can’t imagine that displaying an ALT ATTRIBUTE in the featured image is not possible with your theme 😉 !!!!!
Please help.
Many Thanks,
Oliver
Damn,
I tried to copy two codes, but they where transformed into the pictures (as they are shown at the front-end).
Let´s give this a try:
Source code of the first picture (featured image without alt attribute – this is my problem!)

Source code of second picture within the normal text (this picture has an alt attribute – I want this for the first picture (featured image) aswell)

Many Thanks,
Oliver
Hi,
That situation is because you are using a standard template and that one use a image as a background. What I suggest is to use a single post template the results will be -> https://i.imgur.com/VjVSEc6.png
Thank you!
Thank you for your answer Calin,
All I want is: An “Alt Attribute” for my H1 in the articles (nothing else)
Problem #1: Do I have to “change” each of my article into a “single post template”? That would be very time-consuming as I want to create hundreds of articles !!! Isn´t there a way to do this “in bulk” through the ThemePanel ??
Problem #2: I already understand, how I can “enter” my pages with the tagdiv composer: I just go to “pages” in my WordPress backend and then I have the possibility to enter each page through the link “Edit with TagDiv Composer” ….. This option is not available for my articles !!!!!!
Thank you,
Oliver
Hi,
1. Yes, this can be done in “bulk” by setting a single post template as global, then this will be set for all posts that have set the template from panel -> https://i.imgur.com/u0egeJt.png
2. The tagDiv Composer is a builder and it can be use only on pages and cloud templates. You can use it to build a single post template, but not to create posts/articles.
Thank you!
Hi WordDom,
I think you misunderstood, we do not recommend standard templates, we recommend cloud templates, but there are also users who prefer to use the old structure and standard templates to keep the site simple and edit it only from the settings in the theme panel and not from frontend.
Thank you!
1. Ok but in cloud template, i want to use single poste Template 12 and it’s the same problem, no alt attribute on featured image.
2. With Cloud Template, how to have the same related posts as the one i actually have ?
“Related articles | Same from the author”
https://www.freeiphone.fr/une-option-booster-speciale-black-friday-chez-free-mobile/
i See “Single related posts” block in single template 12 but when i clic on +, can’t find it and there is no “more from the author” in it.
3. Cloud Template and ads :
If i insert an ad after the first paragraph, doesn’t work. It’s inserted after the first H2.
I have a first phrase in blod (the exerpt), then -more- and then article content. It seems it doesn’t recognize the first phrase
Hi,
1. I just test the single post template 12 and is ok https://i.imgur.com/Ihq7tuy.pngjust make sure that your image has an alt text (you can set it on media).
2. This can be done using the tabbed element – https://forum.tagdiv.com/use-tabbed-content-shortcode/ in this way you can set 2 tabes and in one set page, both pages will have the same flex block but this will be in one page set to be filtered after related articles and in the other one from the same author.
3. Normally, the ads on a single post template should count only the paragraphs, but it can also get other elements. Now if you have a structure for your posts, then you can change the number of paragraphs, also you can set 3 inline ads – https://forum.tagdiv.com/article-ads/
Thank you!
So i use single template 12 and if i have alt attribute now, there is another problem with pagespeed because of aria :
Les attributs [aria-*] ne correspondent pas à leurs rôles
Chaque role ARIA est rattaché à un sous-ensemble spécifique d’attributs aria-*. S’ils ne sont pas correctement associés, les attributs aria-* ne seront pas valides.
Please see : https://dequeuniversity.com/rules/axe/4.4/aria-allowed-attr?utm_source=lighthouse&utm_medium=lr
-
This reply was modified 3 years by
WordDom.
Hi,
I understand what you mean, that element has the aria-label but in some situations like when the content is over the image can be some problems with the WAI-ARIA, if the aria-label from the element will be changed and that element will be used in another place when will be again problems. If it is used only there, then is ok. The file path is this one wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_bg_featured_image.php – the code is on those lines – https://i.imgur.com/ad9RWOi.png
Thank you!
Also you say
” The file path is this one wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_bg_featured_image.php – the code is on those lines – https://i.imgur.com/ad9RWOi.png
Thank you!”
What do you suggest to change aria-label ?
Hello,
Unfortunately on some elements like “Leave a comment” we do not have SEO option, it needs to be changed from the theme file, for cloud it is on this path – wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php – https://i.imgur.com/hxjjXgu.png
About the tdb_single_bg_featured_image I provided the path in case you want to do some changes that can benefit you.
Thank you!