Advertisement

google: Error in elements <dl>: they can only contain properly placed groups <dt>and <dd>

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
Anttoniy97
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Sat Jul 17, 2021 5:55 am

google: Error in elements <dl>: they can only contain properly placed groups <dt>and <dd>

Post by Anttoniy97 » Sun Mar 16, 2025 6:01 am

Hello.
google writes:
Error in elements <dl>: they can only contain properly placed groups <dt>and <dd>and elements <script>, <template>or <div>.
If the lists of definitions are marked with errors, screen reading programs may not be voiced incorrectly. More about how to properly create lists of definitions ...

Unsuitable elements:
div.com-content-category-blog__items > div.com-content-catery-log__item > div.item > dl.article-info
<dl class="article-info text-muted">
div.com-content-category-blog__items > div.com-content-catery-log__item > div.item > dl.article-info
<dl class="article-info text-muted">

This only happens in the category blog and the code like <dl class="article-info text-muted"> is located immediately after the article title.
I have 2 sites on Joomla 4, both migrated from Joomla 3, one has a problem, the other does not.

How to fix the problem?
You do not have the required permissions to view the files attached to this post.

Advertisement
User avatar
ceford
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3152
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: google: Error in elements <dl>: they can only contain properly placed groups <dt>and <dd>

Post by ceford » Sun Mar 16, 2025 7:48 am

div.com-content-category-blog__items > div.com-content-catery-log__item > div.item > dl.article-info
catery-log__item looks like a spelling error somewhere in your code!

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 4.x”