Definition lists must contain only ordered <dt> and <dd> groups
A `<dl>` may only contain `<dt>` terms followed by their `<dd>` descriptions, optionally grouped in `<div>` elements. Correct structure lets screen readers announce the list and pair each term with its description.
| Rule ID | definition-list |
|---|---|
| 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 |
| Needs a change in the website’s code |
Example
<dl class="specs">
<p>Weight</p>
<dd>1.2 kg</dd>
<span>Battery life</span>
<dd>Up to 14 hours</dd>
</dl>A screen reader may announce a broken list and does not connect “1.2 kg” with “Weight”.
<dl class="specs">
<dt>Weight</dt>
<dd>1.2 kg</dd>
<dt>Battery life</dt>
<dd>Up to 14 hours</dd>
</dl>A screen reader announces a list and reads each term with its value: “Weight, 1.2 kg”.
Why it matters
Sighted visitors see at a glance that “1.2 kg” belongs to “Weight”, because the two sit side by side. Blind visitors using a screen reader rely on the HTML structure to get that same connection. With a valid <dl>, screen readers announce a list, tell how many items it holds, and let the user move from term to term.
When the list contains other elements, such as paragraphs or spans, browsers may not expose it as a list at all, and the terms and values are read as a loose run of text. On a product page or a booking summary, that makes it hard to compare specifications or check details.
How to fix it
Keep only these elements as direct children of a <dl>: <dt>, <dd>, <div> groups, <script> and <template>.
Mark up each pair. Put the term in <dt> and the value in <dd>, term first. One term can have several descriptions, and several terms can share one:
<dl>
<dt>Colours</dt>
<dd>Charcoal</dd>
<dd>Sand</dd>
</dl>
Need a wrapper for styling? Wrap each term and its descriptions in a single <div>, with nothing else inside it:
<dl class="order-summary">
<div>
<dt>Delivery</dt>
<dd>Thursday 14 March</dd>
</div>
</dl>
Move other content out. Put headings, paragraphs and images before or after the list, or inside a <dd> if they belong to a description.
Not really terms and values? If the content is a plain list, use <ul>. If it has several columns, use a <table>.
Check the output of your CMS or component library too: page builders often add <span> or <p> wrappers around terms that you never typed.
Checklist
- Use only <dt>, <dd> and grouping <div> inside a <dl>.
- Put each term before its description.
- Wrap each group in one <div> when you need a styling hook.
- Move headings and paragraphs outside the list.
How the check works
The check looks at every <dl> without a role attribute. It fails when a direct child is anything other than <dt>, <dd>, <script>, <template> or a <div> that groups them, and that includes stray text. It also fails when the list has terms or descriptions but no <dt> followed by a <dd>, for example when it holds only descriptions. Whether each term and description belong together still needs a human check.
Resources
Updated October 27, 2026