<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements
How to fix the definition-list accessibility rule. Page structure and lists.
What this rule checks
Ensure <dl> elements are structured correctly
Who is affected
A <dl> contains elements other than <dt>/<dd> groups, so it is announced incorrectly.
How to fix it
Only use <dt> and <dd> (optionally wrapped in <div>) inside <dl>.
WCAG success criteria
When this rule fails, the page fails:
- 1.3.1 Info and Relationships (Level A, WCAG 2.0, 2.1, 2.2)
Find it on your own page
Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools.
More detail
- Deque University’s reference for definition-list (the makers of axe-core, the engine our scanner uses)
- All fix guides