Rule
Definition item placement
<dt> and <dd> must be inside a <dl>.
- Rule
dlitem-parent- WCAG 2.2
- 1.3.1 Info and Relationships (opens in a new tab) (Level A)
- Severity
- Serious
What it checks
A <dt> or <dd> only means term and description inside a <dl>. The rule fails one with no <dl> above it, so the pairing a sighted reader infers from layout is lost to assistive technology. A <dl> reached through a shadow root or slot counts, and elements given a role are not checked.
Example
Fails
<div class="specs">
<dt>Weight</dt>
<dd>1.2 kg</dd>
</div>
Passes
<dl class="specs">
<dt>Weight</dt>
<dd>1.2 kg</dd>
</dl>
The engine is tested against both examples.
How to fix it
Wrap the terms and descriptions in a <dl>, or use other elements if the content is not a list of terms.
Check your own pages
This rule runs in every pour audit: the browser extension, the bookmarklet, the command line and the editor. Get pour, free.