<li> elements must be contained in a <ul> or <ol>

Serious

What is the problem?

The listitem accessibility rule ensures that list items are correctly structured using appropriate HTML elements.

Impacted Groups

Blind
Deaf
Mobility

Why is this important?

Screen reader users rely on the structure of lists to understand the content. If lists are not structured correctly, screen readers may struggle to interpret the information, making it harder for users to find what they need.

How to solve this issue

To fix this, use <ul> elements for unordered lists and <ol> elements for ordered lists. Each list item should be wrapped in a <li> element. This helps screen readers understand the list's hierarchy and make it easier for users to navigate.

Rule Information

Rule ID

listitem

Severity

Serious

Manual Review Required

No

Rule Group

WCAG 2.0 Level A & AA Rules

Guidelines

  • WCAG 2.1 (A)
  • WCAG 2.0 (A)
  • WCAG 2.2 (A)
  • EN 301 549

Customise Guidance

You can customise each accessibility rule in SiteAlly with your own guidance, instructions and even links to your own organisation specific documentation.

Enable your website editors to resolve issues quickly with SiteAlly.

Ready to make your website accessible?

SiteAlly provides automated accessibility monitoring, detailed reports, and step-by-step guidance to help you achieve and maintain compliance.