How to fix: lists built incorrectly
WCAG 2.2 success criterion 1.3.1 (level A)
Why it matters
Screen readers cannot announce the number of items.
How to fix
<ul> and <ol> may only contain <li> elements directly.
<ul>
<li>Item</li>
</ul>
Test it yourself
- Inspect the list: a <ul> or <ol> may only contain <li> (and script or template) elements directly.
Common mistakes
- Putting <div> wrappers between <ul> and <li> for styling.
- Adding headings or links directly inside <ul> without an <li>.
Check your own site
Find this and other problems on your website in 30 seconds, free.