Definition lists (definition-list)

Ensure each term is marked as <dt> and each definition as <dd> within a <dl> to maintain a semantic term-definition pairing.


Incorrect ARIA roles used:

In this example, ARIA roles is used, which overrides the semantic of <dd>, <dt> and <dl> elements


Term
Definition

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

<dl role="list">
<dt role="listitem">
Term</dt>
<dd role="listitem">
Definition</dd>
</dl>

Note: Impossible to automatically test or detect. Requires a human tester or AI to determine if role attributes are necessary and properly used.

axe detected: 4.1.2  |  QualWeb detected: none