I'm trying to validate my wordpress site for the WCAG 2.0 AA standard, it's the first time I'm dealing with it and I have this error by the html validator.
I've search some other questions about the same error but didn't help. The error is brought up on my blog page of my Wordpress site amd actually it is been shown when I have an article posted, if I remove my post then there is no error.
I also checked through my (single) article and there is no empty paragraph in there nor any non-inline elements I noticed inside the paragraphs. I include the code of the index file as shown in Chrome's developer tools, I see that it is highly recommended not to post pictures of code but I guess that in this case it's better do it that way, if I'm wrong or if I should post any other info please tell me, thank you all for your time!
Edit: Pals, thank you all for your immediate replies, I really appreciate! So I put the code on text, now, the problem is that I don't know any way to edit this piece of code, as I stated before, this is the code that is shown in Chrome developer tools and I can't find this code in any of the php or css files of the Theme. I checked the article that causes me the error, throughout the article there is only and tags inside the . Personally I haven't put any tags, nore I noticed any... I'm sorry, I understand that I'm probably not comprehensible enough but I really can't find any other way to descirbe this... Thank you all for your patience again!
Code:
<div id="wrapper">
<div id="contentwrapper">
<div id="content">
<div class="post-49 post type-post status-publish format-standard hentry category-uncategorized">
<h2 class="entry-title" id="post-49"><a f="https://badwitchstudios.gr/2020/01/21/daz-studio-blender-ue4-mixamo-tutorial/" rel="bookmark" title="DAZ STUDIO/BLENDER/UE4/MIXAMO TUTORIAL">
DAZ STUDIO/BLENDER/UE4/MIXAMO TUTORIAL </a></h2>
<div class="entry">
<p>.......</p>
<div class="belowpost">
<div class="postdate">January 21, 2020</div>
<div><a class="more-link" href="https://badwitchstudios.gr/2020/01/21/daz-studio-blender-ue4-mixamo-tutorial/">Read More</a></div>
</p></div>
</div>
</div>
</div>
</div>
</div>
Edit2: Ok case solved, I contacted the authors and they immediately located the error code and fixed for me, so it was a piece of code in the file extras.php, there was an extra space after '.get_the_date() function. The original code was:
function indigo_new_excerpt_more($more) { global $post; return ' '.get_the_date() .' ID)) . '">'. esc_html__('Read More', 'indigo-lite') .' '; } add_filter('excerpt_more', 'indigo_new_excerpt_more');
So I just had to remove the extra space after '.get_the_date() function and it's solved.