Use HTML and XHTML according to their respective specifications. <ul>
elements should contain only <li>
, <script>
or <template>
element
Engine scans for ul element with direct child elements are not <li>
, <script>
or <template>
elements
Not using HTML according to the specification leads to confusion for user agents and assistive technologies that rely on correct semantic information to present a coherent representation of the page.