List items outside a list
What it means and why it matters
An <li> without a <ul> or <ol> parent loses its meaning for assistive technology (WCAG 1.3.1).
How to fix it
Wrap list items in <ul> or <ol>.
Code example
Before
<div class="menu">
<li>Shipping</li>
</div>
After
<ul class="menu">
<li>Shipping</li>
</ul>
In our study
Share of online shop home pages on which axe-core automatically detected at least one failure of this rule. The number of shops is in brackets.
List items outside a list
| Country | Shops checked | With this failure |
|---|---|---|
| Poland | 84 | 12 (14%) |
| Czechia | 86 | 15 (17%) |
| Slovakia | 94 | 8 (9%) |
| Croatia | 92 | 10 (11%) |
| Total, wave 1 | 356 | 45 (13%) |
| Germany | 123 | 10 (8%) |
| Austria | 97 | 10 (10%) |
| Total, wave 2 | 220 | 20 (9%) |
| Netherlands | 100 | 9 (9%) |
| Spain | 94 | 13 (14%) |
| France | 101 | 8 (8%) |
| Italy | 101 | 8 (8%) |
| Total, wave 3 | 396 | 38 (10%) |
Method, limits and all results: Online shop study.
Find this error on your website
Run a free check of any page — results in seconds, with fix instructions.