In the world of web accessibility, it’s the little things that make a big difference. And when it comes to definition lists, one of the most important little things is to make sure that your <dt> and <dd> elements are contained in <dl>s. A definition list is an HTML element that is used to create a list of terms and their definitions. It’s represented by the <dl> element, and it contains <dt> (definition term) and <dd> (definition description) elements. This guide will explore the importance of containing your <dt> and <dd> elements in <dl>s and how to fix it.
Think of your website as a dictionary. You want to make sure that all the words and their definitions are organized and easy to read. The same is true for your website. By containing your <dt> and <dd> elements in <dl>s, you can create a more accessible and user-friendly experience for everyone. For a deeper dive into the world of accessibility, see our article on accessibility.

Your Guide to a More Accessible and User-Friendly Website
Fixing <dt> and <dd> elements that are not contained in <dl>s is a simple but important task. Here’s how to do it:
- Identify Your <dt> and <dd> Elements That Are Not Contained in <dl>s: Use an accessibility testing tool like Creeper to crawl your site and identify any <dt> and <dd> elements that are not contained in <dl>s.
- Wrap Your <dt> and <dd> Elements in a <dl> Element: The best way to fix this issue is to simply wrap your <dt> and <dd> elements in a <dl> element.
The SEO Power of an Accessible Website
An accessible website is a more successful website. By making your website more accessible, you can improve your user experience, reach a wider audience, and even improve your SEO. For more on the importance of a well-structured website, check out this guide to definition lists from the W3C.
Don’t let your definition lists be a confusing and frustrating experience for your users. By taking the time to contain your <dt> and <dd> elements in <dl>s, you can build a more accessible and successful online presence. For more on how to create a winning on-page strategy, see our article on on-page SEO.

Frequently Asked Questions
What is a definition list?
A definition list is an HTML element that is used to create a list of terms and their definitions. It’s represented by the <dl> element, and it contains <dt> (definition term) and <dd> (definition description) elements.
Why is it important for my <dt> and <dd> elements to be contained in <dl>s?
It’s important for your <dt> and <dd> elements to be contained in <dl>s so that screen readers can announce the correct information to the user. This is crucial for users who are blind or have low vision.
How do I contain my <dt> and <dd> elements in <dl>s?
You can contain your <dt> and <dd> elements in <dl>s by simply wrapping them in a <dl> element.
Ready to make your definition lists more accessible? Start your Creeper audit today and see how you can improve your use of definition lists.