Title Attribute in Single Author Box

Posted in: Newspaper
Post count: 22

Hello,
During my adjustments to the Author Box, I noticed that the theme (this does not happen with the default theme) sets the TITLE attribute of the avatar to the title of the article.

This makes no sense at all and is technically SEO negative. What sense does it make to put such a TITLE attribute on the author’s avatar?

Can this please be corrected/removed? The TITLE should have the same value as the ALT attribute.
There will also be a number attached that definitely does not belong there.

https://prnt.sc/upfb65

Br

Post count: 35449

Hi,

This can be because the way you set the author image. Please try with WP User Avatar plugin, this is working for me without problems, you can check more in our guide from here -> https://forum.tagdiv.com/how-to-set-the-avatar/ -> https://i.imgur.com/SGxZPrH.png

Thank you!

Post count: 22

Hi, Calin,

I narrowed down the problem in detail before I opened this post office. With the Twenty-Twenty Theme of WordPress this behaviour does not happen with the same active plugins.

Even if I load and set the avatar myself, the title attribute is added afterwards. Where I could not determine yet unfortunately.

Template: Single Post Template – Magazine PRO
Original place from Theme: https://prnt.sc/uptrf4
Custom debug output with source-data: https://prnt.sc/upts3g
Custom-Code: https://prnt.sc/uptsoc

Somewhere in the code there must be a function that gives the image this title attribute via the CSS class. The random number that is appended clearly indicates that this is a bug.

Br

Post count: 35449

Hi,

I know that using a default theme this can not be a problem, that is because it can be a plugin conflict between our theme and some untested plugin.
I just checked again on Magazine Pro demo, I have these plugins enable -> https://i.imgur.com/CuX6mTg.png and the results are without that extra title -> https://i.imgur.com/MMsot4g.png therefore the problem is nor from our theme and is coming from other plugins. Please make a test only with theme plugins and set the avatar using the gravatar or WP User Avatar plugin everything should be ok like on my install.

Thank you for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.