WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Semantics: HTML Lists vs. HTML5 Article

for

From: Patrick H. Lauke
Date: Jan 18, 2016 6:42PM


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