Inappropriate List Item Check

RuleSets of AccessMonitor - the validator of web accessibility practices

Inappropriate List Item Check

Description

The “Inappropriate List Item Check” evaluates whether there is any <li> (list item) element that is not contained within a valid list structure.

Example outcome

I located 1 <li> element that is not contained within a list.

Impact

Fixes

To address inappropriate <li> elements:

  1. Locate the inappropriate <li> element.
  2. Wrap it with a list strcture element, if it should be inside a list.
  3. Replace the <li> tag with one that correctly serves the purpose, if not.

Resources