Rocket Validator looks for accesibility violations on your pages using the axe-core accessibility engine, hosted on our own servers and integrated into our web crawler. You don't need to buy an additional license, everything's already included in your Pro account at Rocket Validator.
WCAG: 1.3.1: <ul> and <ol> must only directly contain <li>, <script> or <template> elements
Lists must be marked up correctly, meaning they must not contain content elements other than
Screen readers have a specific way of announcing lists. This feature makes lists clearer to understand, but will only work if lists are properly structured.
When content elements other than list items are contained within a set of list elements, screen readers cannot inform the listener that they are listening to items within the list.
For a list to be valid, it must have both parent elements (a set of
ulelements or a set of
olelements) and child elements (declared inside of these tags using the
lielement), and any other content elements are invalid.
Although some non-content elements such as script, template, style, meta, link, map, area, and datalist are permitted within lists, content elements other than
liare not permitted.