Inappropriate Description List Elements Check
Description
The “Inappropriate Description List Elements Check” evaluates whether there is any <dt> or <dd> element placed outside a description list.
Example outcome
I located 1 <dd> or <dt> element that is not contained within a list.
Impact
- Visual Impairments: Screen readers will not announce
<dt>or<dd>correctly outside a list, breaking meaning. - Cognitive Disabilities: Users may lose the ability to understand the logical connection between terms and their meanings.
- Learning Disabilities: Lack of structure can increase cognitive load and cause misinterpretation.
Fixes
To address inappropriate description list elements:
- Locate the inappropriate description list element.
- Wrap it in a
<dl>element. - Ensure that a
<dt>and a<dd>element are always paired and in this order.