Violations
List markup used incorrectly
serious Accessibility
WCAG 1.3.1
Regulation
European Accessibility ActHow common
Moderately common. Often caused by CSS-styled navigation menus or custom components that use `<ul>` but include non-`<li>` children.
What this means
A list element (<ul> or <ol>) contains children that are not <li> elements (or script/template elements). Screen readers announce the number of items in a list — incorrect markup causes the announced count to be wrong and the list structure to be confusing.
WCAG requirement
Success Criterion 1.3.1 — Info and Relationships: the structure conveyed visually (a list of items) must match the programmatic structure.
How to fix
- Only use
<li>as direct children of<ul>or<ol>: move any<div>wrappers or other elements inside the<li>, not between them - For navigation:
<nav><ul><li><a href="...">Link</a></li></ul></nav>is the correct pattern - For custom components: if you need wrapper elements, place them inside the
<li>, not around it
Check your website for this violation
Free scan — no registration required. Results in 30 seconds.
Scan now