W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2013

Re: Is it a good practice to put <article>s inside <li>s?

From: Ian Yang <ian@invigoreight.com>
Date: Sun, 26 May 2013 08:20:23 +0800
Message-ID: <CABr1FsequYWtj66r65bfJFRGmvHoHT61aJ31Ae-SZC2jyV+XWQ@mail.gmail.com>
To: Userite <richard@userite.com>
Cc: w3c-wai-ig@w3.org
On Wed, May 1, 2013 at 11:15 PM, Userite <richard@userite.com> wrote:
> Hi,
>
> My understanding of the purpose of the list element is to collect together a
> group or related items (such as phrases, prices, book titles etc.) that
> makes sense within the group context (list) but would not necessarily do so
> alone without additional explanatory text (i.e. include within a
> sentence/article). When my screen-reader announces a list I expect to hear a
> series of short punchy statements, or even just single words, each preceded
> by the announcement of a list item (preferably numbered).  If I heard
> "region" or (in the future) "article"  it would make me think I have missed
> the end of the list. I have not experienced it first hand - but I can
> imagine the confusion!
>
> An article is a stand-alone object, a list item is always part of a
> sequence.  An article has some sense even when read out of context (see
> http://www.w3.org/TR/html-markup/article.html ). Groups of articles can be
> grouped together using the appropriate heading element.  There is therefore
> no reason to group articles using the list element (more appropriate methods
> exist). It is certainly not logical and I am sure it is not semantically
> correct.
>
> Richard
>

Hi Richard,

On a search result page, each result can contain a title, a photo,
time, rating, additional links, ... etc, so <article> seems to be the
appropriate wrapper for each result. And the search result can be
sorted by time, relevance, rating, ... etc, so it surely is an ordered
list. In such a situation, can we say it is okay to use <article> in
<ol>?


Kind Regards,
Ian Yang
Received on Sunday, 26 May 2013 00:20:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:36 UTC