WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Formatting lists

for

From: Jukka Korpela
Date: Oct 24, 2002 11:11PM


Glenda Watson Hyatt wrote:

> Thanks for the suggestion, Jukka. However, what happens when
> a uses is not viewing with stylesheets and thus can't find subsection
> (2)(i)?

So you have _nested_ lists? That opens a new nest of worms. :-)

But if you use the practical workaround that I suggested, style sheets are
not relevant.

> I guess I will stick with invalid markup [<p> within a <li>], till I
> can find a better solution.

<p> within <li> is not invalid (although it might be unwise). Maybe you
meant <p> directly inside <ol> or <ul>? There's no reason to that. If you
don't use list markup for lists, you can still use formally valid markup,
such as a sequence of <p> elements where each paragraph corresponds to a
list item. Or you could use a sequence of <div> elements. There would be no
automatic numbering, so you could simply put the numbers at the start of
each paragraph or <div>.

--
Jukka Korpela, senior adviser
TIEKE Finnish Information Society Development Centre
http://www.tieke.fi/
Diffuse Business Guide to Web Accessibility and Design for All:
http://www.diffuse.org/accessibility.html


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/