{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-definition-list-85da38d8ebb6","title":"Ensure Proper Definition List Structure for Accessibility","summary":"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.","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","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-definition-list-85da38d8ebb6\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_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.","instructions":"---\nname: definition-list\ndescription: \"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.\"\nmetadata:\n  category: accessibility\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"5\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/accessibility\/definition-list\n---\n\n# Use correct definition list structure\n\nBroken list structures confuse assistive technologies, preventing users from understanding the relationship between terms and their definitions.\n\n## Quick Reference\n\n- Ensure &lt;dl&gt; contains only &lt;dt&gt;, &lt;dd&gt;, or <script>\/<template> tags\n- Avoid wrapping list items in invalid container elements like <div>\n- Maintain semantic relationships between terms and descriptions\n\n## Check\n\nVerify that all &lt;dl&gt; elements contain only valid child elements (dt, dd, or allowed wrappers).\n\n## Fix\n\nRemove any invalid elements from within the &lt;dl&gt; or wrap them appropriately to maintain semantic integrity.\n\n## Explain\n\nExplain how proper definition list structure helps screen readers navigate and group related information.\n\n## Code Review\n\nReview 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.\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\/definition-list\n","use_cases":["Reviewing HTML code for accessibility compliance","Auditing interactive components for screen reader compatibility","Testing design-system patterns for semantic structure"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/definition-list\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:51:14.000000Z","updated_at":"2026-11-23T04:54:56.000000Z","seo_title":"Fix Definition List Structure for Accessibility","seo_description":"Ensure proper definition list structure in HTML to improve accessibility. Check and fix invalid elements within <dl> tags for better screen reader compatibility.","seo_keywords":["definition list accessibility","HTML accessibility checklist","screen reader compatibility","semantic HTML structure","assistive technology validation"]}}