Skip to content
Skillpedia
Websites & UI (frontend)75k · #2818

dlitem

What it does

This skill checks for term and description tags placed outside their proper list. It is for developers who want clean, accessible HTML.

When to use it

  • ✓When a term or description tag appears on its own in your page.
  • ✓When a glossary or details section behaves oddly for screen readers.
  • ✓When you review HTML from a template or component.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/dlitem/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/dlitem/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check that my term and description tags are inside a proper list?”

5 new skills a week. 1 minute to read.

How it works

The agent searches for term and description items that are not inside a definition list. It wraps them in the correct container.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Wrap definition items in a definition list

Standalone <dt> or <dd> elements lose their semantic meaning and fail to provide the context needed for assistive technologies to link terms with definitions.

Quick Reference

  • Place all <dt> (terms) and <dd> (descriptions) within a <dl>
  • Avoid using description list items as standalone elements
  • Ensure proper grouping of related metadata or glossary terms

Check

Locate any <dt> or <dd> elements that are not children of a <dl> element.

Fix

Wrap orphaned <dt> and <dd> elements in a parent <dl> container.

Explain

Explain why <dt> and <dd> must be contained within a <dl> 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

FAQ

Why must terms sit inside a list?

The list gives them meaning, so assistive tools can link each term with its description.

How is this different from the definition list check?

They are closely related. This check focuses on items that are not inside any list at all.

How can the fix be confirmed?

The skill suggests testing with browser accessibility tools.

Details

Original description by the author

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.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2818
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills