<dt> and <dd> elements must be inside a <dl>
Term (`<dt>`) and description (`<dd>`) elements only have meaning inside a definition list (`<dl>`). Outside it, assistive technology cannot tell that they belong together.
| Rule ID | dlitem |
|---|---|
| Impact | Serious |
| Success criterion | 1.3.1 Info and Relationships · A |
| Standards | WCAG 2.0 · WCAG 2.1 · WCAG 2.2 · Section 508 · EN 301 549 |
| Fixed automatically |
Example
<div class="opening-hours">
<dt>Monday to Friday</dt>
<dd>8:00 – 18:00</dd>
<dt>Saturday</dt>
<dd>9:00 – 14:00</dd>
</div>A screen reader reads four unrelated lines, with no list and no link between days and hours.
<dl class="opening-hours">
<dt>Monday to Friday</dt>
<dd>8:00 – 18:00</dd>
<dt>Saturday</dt>
<dd>9:00 – 14:00</dd>
</dl>A screen reader announces a list and pairs each day with its opening hours.
Why it matters
A <dt> names something and the <dd> that follows describes it, but only a <dl> tells browsers that the two form a pair. Without the list, the browser's accessibility tree gets orphaned items, and screen readers may read them as plain text or skip their roles altogether.
Blind visitors then hear “Monday to Friday”, “8:00 to 18:00”, “Saturday”, “9:00 to 14:00” with no structure, and cannot jump through the list or know how many entries it has. For opening hours, prices or delivery details, that missing structure makes the information slower to understand. Invalid HTML can also behave differently from one browser to the next.
How to fix it
Make sure every <dt> and <dd> sits in a <dl>, either directly or inside one <div> that is a direct child of the <dl>.
Wrapper is a <div>. Change it into a <dl>, as in the example, and keep the class for styling.
Groups need their own wrapper. One level of <div> is allowed between the <dl> and its items:
<dl class="opening-hours">
<div class="row">
<dt>Sunday</dt>
<dd>Closed</dd>
</div>
</dl>
Deeper nesting, or a <section> or <span> instead of a <div>, is not allowed.
Don't add a role to the <dl>. A role such as role="table" removes its list meaning, and the items become invalid again.
Not a term-and-description pair? If you only used <dd> to indent text, replace it with a <p> or <div> and indent it with CSS (margin-inline-start).
Checklist
- Place every <dt> and <dd> inside a <dl>.
- Use at most one <div> level between <dl> and its items.
- Don't give the <dl> a role that changes its meaning.
- Use CSS, not <dd>, to indent ordinary text.
How the check works
The check looks at every <dt> and <dd> without a role. It passes when the parent is a <dl>, or a plain <div> that sits directly inside a <dl>. That <dl> must have no role, or role="list", "none" or "presentation". Anything else, such as a <dd> in a <div> outside any list, fails.
Resources
Updated October 27, 2026