WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: empty list item

for

From: Patrick H. Lauke
Date: Jan 6, 2009 11:35AM


Angela French wrote:
> Can anyone tell me if an empty list item, <li></li> causes any accessibility issues? I know it isn't semantically perfect, but does it cause any issues or inconviences for those using ATs?

Unless I'm mistaken (can't test at the moment), screenreaders are likely
to announce those empty list items. So, if you have

<ul>
<li>one</li>
<li>two</li>
<li></li>
</ul>

a screenreader would likely announce that there's a list with 3 items.
This is likely to cause confusion or annoyance, I'd say.

P
--
Patrick H. Lauke