How to use lists properly


How to use lists properly

Assistive technologies, such as screen readers, rely heavily on the correct structure of lists. In this way, users remain informed about the contents of lists. Elements contained within lists must necessarily be within <li>. At the same time, script support elements such as <script> and <template> may also be contained.


How the SeoChecker audit is displayed

If SeoChecker finds elements that are not supposed to be in a list, it will notify it.

How can I create a structured list correctly?

If an element shouldn't be in a list, simply remove it; a list, ordered or unordered, should contain only these kinds of elements: <li>, <script> or <template>, with the parent elements <ul> or <ol>.

Share this Guide

Did you like it? Share it!

Share it!

Web tools for modern developers. Try these one!

Over 50 generators, builders and validators to improve your SEO and web performances

Home Back to top of the page