no-duplicate-dt
No duplicate names in <dl>
.
❌ Examples of incorrect code for this rule
<dl>
<dt>Name 1</dt>
<dd>Content 1</dd>
<dt>Name 1</dt>
<dd>Content 2</dd>
<div>
<dt>Name 1</dt>
<dd>Content 3</dd>
</div>
</dl>
✅ Examples of correct code for this rule
<dl>
<dt>Name 1</dt>
<dd>Content 1</dd>
<dt>Name 2</dt>
<dd>Content 2</dd>
<div>
<dt>Name 3</dt>
<dd>Content 3</dd>
</div>
</dl>
Interface
{
"no-duplicate-dt": boolean
}
No duplicate names in <dl>
Default Severity
error