Skip to main content
Version: v6

HTML Definition list is missing child elements

HTML Definition list is missing child elements — rule summary
FieldValue
Rule codeHtmlList_Definition_ChildElem_Missing
WCAG conformance levelA
WCAG success criterion1.3.1 Info and Relationships
Must be fixed at sourceNo

Description

HTML definition lists (dl) require a pair of child elements for each term listed: dt (definition term) and dd (definition description). These pairs of elements may optionally be encased in a div HTML tag, but must be present and children of the dl parent tag. We detected that this definition list (aka description list) is missing the required pairs of child elements, making this definition list invalid.

How to fix

Each <dt> element in a description list needs to have one or more corresponding <dd> elements.

<h2>Reference</h2>
<dl>
<dt>Project Mercury</dt>
<dd>First U.S. human spaceflight program</dd>
<dt>Project Gemini</dt>
<dd>Second U.S. human spaceflight program</dd>
<dt>Apollo program</dt>
<dd>Third U.S. human spaceflight program</dd>
</dl>