How to fix: list items outside a list
WCAG 2.2 success criterion 1.3.1 (level A)
Why it matters
Screen readers do not announce them as part of a list.
How to fix
Put every <li> inside a <ul> or <ol>.
<ul><li>Item</li></ul>
Test it yourself
- Inspect each <li>: its parent must be a <ul>, <ol> or <menu>.
Common mistakes
- Using <li> inside a <div> because the menu was copied from another template.
- Changing <ul> to <nav> but keeping the <li> items directly inside it.
Check your own site
Find this and other problems on your website in 30 seconds, free.