# Ensure Definition List Items Are Properly Wrapped

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.

**Canonical 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

**Instructions download URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-dlitem-18263c50e1f8/download

**Category:** Content & Editorial

**Source URL:** https://github.com/thedaviddias/Front-End-Checklist/blob/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/dlitem/SKILL.md

**Source commit:** e8d14d049010e2ce25afcd5e8609dfcbbe63e47e

**Listing approved at:** 2026-11-23

**Created at:** 2026-11-22T15:54:08.000000Z

**Updated at:** 2026-11-23T04:54:56.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's 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.

### When to use it

- 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

## Skill instructions

---
name: dlitem
description: "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."
metadata:
  category: accessibility
  priority: medium
  difficulty: beginner
  estimatedTime: "5"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/accessibility/dlitem
---

# Wrap definition items in a definition list

Standalone &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.

## Quick Reference

- Place all &lt;dt&gt; (terms) and &lt;dd&gt; (descriptions) within a &lt;dl&gt;
- Avoid using description list items as standalone elements
- Ensure proper grouping of related metadata or glossary terms

## Check

Locate any &lt;dt&gt; or &lt;dd&gt; elements that are not children of a &lt;dl&gt; element.

## Fix

Wrap orphaned &lt;dt&gt; and &lt;dd&gt; elements in a parent &lt;dl&gt; container.

## Explain

Explain why &lt;dt&gt; and &lt;dd&gt; must be contained within a &lt;dl&gt; for correct semantic association.

## Code Review

Review 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.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/accessibility/dlitem

