Free scan

Fix "Badly structured definition list" in HTML

Why it's a problem

A <dl> pairs terms with their definitions. If it holds anything other than <dt>/<dd> pairs (optionally wrapped in <div>s), assistive technologies can no longer tell which term goes with which definition.

How to fix it — HTML

A <dl> may only contain <dt> and <dd>, or <div>s grouping them. Move headings, paragraphs or separators outside the list, or inside a <dd>.

Avoid
<dl>
  <h3>Outils MCP</h3>
  <dt>free_scan</dt>
  <p>Scanne une page publique.</p>
</dl>
Correct
<h3>Outils MCP</h3>
<dl>
  <div>
    <dt><code>free_scan</code></dt>
    <dd>Scanne une page publique.</dd>
  </div>
</dl>

Check your site in 30 seconds

Conformly detects this kind of issue across all your pages, continuously, and alerts you on every regression.

Free scan

Other fixes