dl element is misused

Compliance Data & User Impact

User Impact: Major

60% Complete

Disabilities Affected:

  • blindness
  • deafblindness

WCAG Version:
2

WCAG Levels:

  • A

WCAG Guidelines:

Solution Techniques:

Automated Test Accuracy:
Medium

Check1st Severity:
2

DRRSAG Designations:

  • general

How to Fix the Problem

Use HTML and XHTML according to their respective specifications. <dl> elements should contain only <dt>, <dd>, <div>, <script> or <template> elements

The Algorithm, in Simple Terms

Engine scans for <dl> elements containing elements different from: <dt>, <dd>, <div>, <script> or <template> elements.

Why Is it Important?

Not using HTML according to the specification leads to confusion for user agents and assistive technologies that rely on correct semantic information to present a coherent representation of the page.