# Ensure Proper Definition List Structure for Accessibility

Validate and correct definition list structures in HTML to ensure screen readers and assistive technologies can properly interpret the relationship between terms and their definitions.

**Canonical URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-definition-list-85da38d8ebb6

**JSON URL:** https://skillshunter.net/api/public/v1/skills/github-thedaviddias-front-end-checklist-skills-definition-list-85da38d8ebb6

**Markdown URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-definition-list-85da38d8ebb6.md

**Instructions download URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-definition-list-85da38d8ebb6/download

**Category:** Content & Editorial

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

**Source commit:** e8d14d049010e2ce25afcd5e8609dfcbbe63e47e

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

**Created at:** 2026-11-22T15:51:14.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 <dl> elements contain only <dt>, <dd>, or allowed wrapper elements like <script> or <template>. Avoid using <div> or other non-semantic containers inside <dl> tags.

### When to use it

- Reviewing HTML code for accessibility compliance
- Auditing interactive components for screen reader compatibility
- Testing design-system patterns for semantic structure

## Skill instructions

---
name: definition-list
description: "Use when reviewing rendered HTML, interactive components, or design-system patterns related to Use correct definition list structure. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant."
metadata:
  category: accessibility
  priority: medium
  difficulty: intermediate
  estimatedTime: "5"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/accessibility/definition-list
---

# Use correct definition list structure

Broken list structures confuse assistive technologies, preventing users from understanding the relationship between terms and their definitions.

## Quick Reference

- Ensure &lt;dl&gt; contains only &lt;dt&gt;, &lt;dd&gt;, or <script>/<template> tags
- Avoid wrapping list items in invalid container elements like <div>
- Maintain semantic relationships between terms and descriptions

## Check

Verify that all &lt;dl&gt; elements contain only valid child elements (dt, dd, or allowed wrappers).

## Fix

Remove any invalid elements from within the &lt;dl&gt; or wrap them appropriately to maintain semantic integrity.

## Explain

Explain how proper definition list structure helps screen readers navigate and group related information.

## Code Review

Review the rendered markup and interactive states that affect Use correct definition list structure. 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/definition-list

