What does this mean?
Lists (e.g., <ul>
or <ol>
) should only contain list items (<li>
) as a direct descendant
to ensure that screen readers can accurately report the amount of items contained in the list.
If you had the following HTML example, some screen readers would report that you have two list items, when you actually have four. This may display properly in your browser for visual users, but the reality is, this not semantic HTML and risks confusing screen reader users.
<ul>
<div class="some_class">
<li>Example 1</li>
</div>
<div class="some_other_class">
<li>Example 2</li>
<li>Example 3</li>
<li>Example 4</li>
</div>
</ul>
To fix this, you would need to remove the <div class="some_class">
and <div class="some_other_class>
elements
and ensure only <li>
list items remain.
See Technique H88 for more information.
98.4% done
How close this website is to fixing this issue.
HTML | Found on page | Issues |
---|---|---|
<input type="hidden" id="SOCIALHOUSINGPETS_STARTPAGE_MYACCOUNTCONDITION" name="SOCIALHOUSINGPETS_STARTPAGE_MYACCOUNTCONDITION" value="true">
|
1 | |
<input type="hidden" id="SHDCFOI_PAGE1_MYACCOUNTCONDITION" name="SHDCFOI_PAGE1_MYACCOUNTCONDITION" value="true">
|
1 |