Non-semantic elements inside dl:

In this example, something other than

or
is used inside the
element:


Term Definition

The (DOM/programmatic) structure of the above example looks like this:

<dl>
<span style="font-weight: bold">
Term </span>
<span>
Definition </span>
</dl>

Note: Possible to automatically test. This violation can be automatically detected by programmatically checking if <dl> elements nest something other <dt> or <dd>.

axe detected: 1.3.1  |  QualWeb detected: 1.3.1