Language: EN

List items outside a list

Message shown by axe and Lighthouse: <li> elements must be contained in a <ul> or <ol> · listitem · WCAG 1.3.1

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

CountryShops checkedWith this failure
Poland8412 (14%)
Czechia8615 (17%)
Slovakia948 (9%)
Croatia9210 (11%)
Total, wave 135645 (13%)
Germany12310 (8%)
Austria9710 (10%)
Total, wave 222020 (9%)
Netherlands1009 (9%)
Spain9413 (14%)
France1018 (8%)
Italy1018 (8%)
Total, wave 339638 (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.

Check a page for free

All accessibility errors

Order a paid plan

Leave your email and we'll contact you as soon as the plan can be ordered.