WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Semantics: HTML Lists vs. HTML5 Article

for

Number of posts in this thread: 3 (In chronological order)

From: Dennis Deacon
Date: Mon, Jan 18 2016 11:47AM
Subject: Semantics: HTML Lists vs. HTML5 Article
No previous message | Next message →

When I think of a list of items, say either products or a list of blog
posts, semantically, it makes sense to consider using HTML list markup.
With the HTML5 article tag, this clear methodology becomes cloudy. In what
context does it make sense to use HTML lists over HTML5 article tags to
mark-up a list of "things?"

--
Dennis Deacon

From: Guy Hickling
Date: Mon, Jan 18 2016 6:40PM
Subject: Re: Semantics: HTML Lists vs. HTML5 Article
← Previous message | Next message →

Actually you wouldn't use article tags for this purpose. The article
element is for a piece of prose that is a complete, independant article on
some subject. A W3C note <https://www.w3.org/TR/html-markup/article.html>
on the HTML5 specification for article says:

"The article element represents a section of content that forms an
independent part of a document or site; for example, a magazine or
newspaper article, or a blog entry."

In other words, it means pretty much what "article" means in the publishing
world of magasines and newspapers. The tag you want is the HTML list tag.

Regards,
Guy
​ Hickling​

From: Patrick H. Lauke
Date: Mon, Jan 18 2016 6:42PM
Subject: Re: Semantics: HTML Lists vs. HTML5 Article
← Previous message | No next message

On 19/01/2016 01:40, Guy Hickling wrote:
> Actually you wouldn't use article tags for this purpose. The article
> element is for a piece of prose that is a complete, independant article on
> some subject. A W3C note <https://www.w3.org/TR/html-markup/article.html>
> on the HTML5 specification for article says:
>
> "The article element represents a section of content that forms an
> independent part of a document or site; for example, a magazine or
> newspaper article, or a blog entry."
>
> In other words, it means pretty much what "article" means in the publishing
> world of magasines and newspapers. The tag you want is the HTML list tag.

No, not necessarily. An independent part of a document can also be, in
the case of a page showing items in an online clothes shop, an
individual "article" of clothing.

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke