Web Happens

Accessibility Action report

Average Joe's

Back

<ul> and <ol> must only directly contain <li>, <script> or <template> elements

Ensures that lists are structured correctly


Status
Failed
Impact
Serious
Category
Structure
Guidance
Deque University

1 issue across 1 page

How to fix

To fix the issue, you need to resolve this:

  • List element has direct children that are not allowed inside <li> elements

Where to fix

We found occurrences on 1 page:

  1. alphagov.github.io/accessibility-tool-audit/tests/lists-improperly-nested-lists.html

    HTML node
    <ul>
    <ul>
    <li>improperly nested</li>
    </ul>
    </ul>
    CSS selector
    main > ul