Rules · Accessibility (browser, axe-core WCAG 2.x A/AA)
<li> elements must be contained in a <ul> or <ol>
a11y.listitem · default severity MEDIUM · rule version 1
Why it matters
Ensure <li> elements are used semantically. WCAG: 1.3.1.
How to fix it
<li> elements must be contained in a <ul> or <ol>. Deque's guidance for this rule: https://dequeuniversity.com/rules/axe/4.14/listitem
Checking the fix
Run the check again (webtrax check <url>), or compare two runs with webtrax diff: a fixed finding moves to "Fixed". To see this guidance from the terminal, run webtrax explain a11y.listitem.