Performance: Description lists
LOW IMPACT
Description lists affect page rendering speed by adding semantic structure with minimal DOM complexity, impacting layout and paint performance slightly.
<dl><dt>Term 1</dt><dd>Description 1</dd><dt>Term 2</dt><dd>Description 2</dd></dl>
<div><div>Term 1</div><div>Description 1</div><div>Term 2</div><div>Description 2</div></div>
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Generic divs for terms and descriptions | Nodes with no semantic grouping | Multiple reflows if styles change | Higher paint cost due to complex styles | [X] Bad |
| Semantic <dl>, <dt>, <dd> tags | Nodes with clear semantic roles | Single reflow for layout changes | Lower paint cost with simpler styles | [OK] Good |