{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-dlitem-18263c50e1f8","title":"Ensure Definition List Items Are Properly Wrapped","summary":"Ensure <dt> and <dd> elements are wrapped within a <dl> container to maintain semantic meaning and accessibility. This ensures proper grouping of terms and definitions for assistive technologies.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-dlitem-18263c50e1f8","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-dlitem-18263c50e1f8","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-dlitem-18263c50e1f8.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-dlitem-18263c50e1f8\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Ensure that all <dt> and <dd> elements are nested within a <dl> container. This is a prerequisite for maintaining semantic structure and accessibility compliance.","instructions":"---\nname: dlitem\ndescription: \"Use when reviewing rendered HTML, interactive components, or design-system patterns related to Wrap definition items in a definition list. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.\"\nmetadata:\n  category: accessibility\n  priority: medium\n  difficulty: beginner\n  estimatedTime: \"5\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/accessibility\/dlitem\n---\n\n# Wrap definition items in a definition list\n\nStandalone &lt;dt&gt; or &lt;dd&gt; elements lose their semantic meaning and fail to provide the context needed for assistive technologies to link terms with definitions.\n\n## Quick Reference\n\n- Place all &lt;dt&gt; (terms) and &lt;dd&gt; (descriptions) within a &lt;dl&gt;\n- Avoid using description list items as standalone elements\n- Ensure proper grouping of related metadata or glossary terms\n\n## Check\n\nLocate any &lt;dt&gt; or &lt;dd&gt; elements that are not children of a &lt;dl&gt; element.\n\n## Fix\n\nWrap orphaned &lt;dt&gt; and &lt;dd&gt; elements in a parent &lt;dl&gt; container.\n\n## Explain\n\nExplain why &lt;dt&gt; and &lt;dd&gt; must be contained within a &lt;dl&gt; for correct semantic association.\n\n## Code Review\n\nReview the rendered markup and interactive states that affect Wrap definition items in a definition list. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/accessibility\/dlitem\n","use_cases":["Fixing orphaned <dt> or <dd> elements in HTML markup","Improving accessibility by ensuring proper semantic grouping of terms and definitions","Validating HTML structure for compliance with accessibility standards"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/dlitem\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:54:08.000000Z","updated_at":"2026-11-23T04:54:56.000000Z","seo_title":"Fix Definition List Items in HTML","seo_description":"Ensure <dt> and <dd> elements are wrapped in a <dl> for proper semantic structure and accessibility. Fix orphaned definition list items.","seo_keywords":["Fix HTML definition list items","Wrap dt and dd in dl","Accessibility definition list","HTML semantic structure","Fix orphaned dt elements"]}}