Accessibility fix guide
WCAG 1.3.1 Info and Relationships
How to fix: List items must be inside a list
An <li> must sit directly inside a <ul> or <ol>. On its own it loses the list semantics screen readers depend on.
The fix
Place every <li> inside a <ul> or <ol> parent.
Before and after
Fails
<li>Item</li> <!-- floating outside a list -->
Passes
<ul><li>Item</li></ul>
Related fixes
Does your site have this issue?
Scan any page free against WCAG 2.2 AA and get every issue with its fix.
Scan your site free