Accessibility · Lists and tables

Definition list contains invalid children

A definition list on this page contains a paragraph directly inside the dl element, where only dt, dd and div groups are allowed.

How this page is built

The list below defines two terms. The second is written as a paragraph inside the dl, instead of a dt and dd pair.

Crawl
The process of fetching pages.

Index: the store of pages a search engine can show.

Why it matters

Screen readers announce definition lists with the number of terms and let users move between them. Invalid children break that structure, so items can be skipped or miscounted. It is also invalid HTML.

Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.

How to check it

Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule definition-list.

How to fix it

Wrap each term in <dt> and each definition in <dd>. Groups of them can be wrapped in a <div>.

Back to all tests