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: Userite <richard@userite.com>
Date: Sun, 26 May 2013 13:10:28 +0100
Message-ID: <61A2BE164FC5425FA758B9864F4B7414@DaddyPC>
To: "Ian Yang" <ian@invigoreight.com>
Cc: <w3c-wai-ig@w3.org>

Dear Ian,

A search result is a list of relevant links  "TO ARTICLES".

These list items may include images and summaries - but they are NOT the 
articles, they are links to the articles.

When applying semantic structure you need to think about the purpose of each 
part of the page and the elements within it. The purpose of (most) search 
results is to offer the user links to what the engine's algorithms think are 
the most relevant pieces of information (articles). Extra information, such 
as abstracts or images, can be provided to help the user make the final 
choice.  If you use the <article> element in the results list you confuse 
your users into thinking that the list contains the full articles and that 
this is all the information they need.

Regards
Richard

-----Original Message----- 
From: Ian Yang
Sent: Sunday, May 26, 2013 1:20 AM
To: Userite
Cc: w3c-wai-ig@w3.org
Subject: Re: Is it a good practice to put s inside
s?

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

Richard Warren
Technical Manager
Website Auditing Limited (Userite)
http://www.website-accessibility.com
Received on Sunday, 26 May 2013 12:10:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:49 UTC