| Rule ID | a11y/list-structure |
| Category | Accessibility |
| Scope | Per-page |
| Severity | error |
| Weight | 7/10 |
Solution
Lists (<ul> and <ol>) should only contain <li> elements as direct children. For custom components, you can also use elements with role=‘listitem’. Move other content inside <li> elements.
Enable / Disable
Disable this rule
squirrel.toml
Disable all Accessibility rules
squirrel.toml
Enable only this rule
squirrel.toml