<dl> elements must only contain <dt>, <dd>, <div>, <script>, <template>, or <style>
adaptable/definition-list · WCAG 1.3.1 · Level A
<dl> elements must only contain <dt>, <dd>, <div>, <script>, <template>, or <style>.
Definition lists have strict content requirements. Only <dt> (terms), <dd> (definitions), and <div> (for grouping dt/dd pairs) are valid children. Other elements break the list structure for screen readers. Move invalid elements outside the <dl>, or if they represent a term change to <dt>, if a definition change to <dd>. Styling wrappers should be replaced with <div> elements containing <dt>/<dd> pairs.
Scan a page or repo for issues like this · All rules
Introduced in @accesslint/core v0.8.0