WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Unclosed list tags

for

From: Jukka K. Korpela
Date: Oct 6, 2004 10:56AM


On Wed, 6 Oct 2004, victoria.hamill wrote:

> So my question is, which is the lesser of two evils? Putting it in a table,
> or having unclosed tags?

Both approaches are fairly harmless, and using unclosed elements is
completely harmless.

Closing elements with tags is optional by HTML specifications
up to and including HTML 4.01. It is obligatory in XHTML, but real XHTML
won't be suitable for the WWW for years (since IE does not support real
XHTML). Browsers won't notice if you omit tags.

Using a table would be rather harmless too, provided that the images
you use in the function of list bullets have adequate alt attributes
(maybe alt="", maybe alt="item:" or alt="item 1:" etc.; a moot point).

--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/