How to fix lists that are not built correctly

WCAG 1.3.1 (Info and Relationships)

What is wrong

A ul or ol may only contain li elements. Anything else inside breaks how screen readers announce the list.

How to fix it

Put each item in an li, and move stray elements outside the list or inside an li.

Before and after

<ul>
  <div>Drain cleaning</div>
</ul>
<ul>
  <li>Drain cleaning</li>
</ul>

The free scan takes under 30 seconds with no signup and lists every issue of this kind on your page. If you would rather not fix them yourself, the full report comes with a prioritized fix list.

More fix guides

General guidance from automated-testing rules; it is not legal advice. Automated scan using axe-core. Automated tools can only detect part of what accessibility standards (WCAG) cover, so a clean result isn't a guarantee of accessibility and this report is not legal advice or a compliance certification.