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: Gunderson, Jon R <jongund@illinois.edu>
Date: Wed, 1 May 2013 14:26:06 +0000
To: Ian Yang <ian@invigoreight.com>
CC: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Message-ID: <46739F12637CC94E82F75FF874E4A14715F010AE@CITESMBX6.ad.uillinois.edu>

I don't think that people using AT will expect long passages of text with headings and other semantic markup inside a list element, and not sure how assistive technologies will interpret this markup either.  I am not sure your CSS will be very understandable if you are having to remove list styling to make sure bullets are not appearing and margins and headers need adjusting.

The <article> right now does not have any semantic meaning for assistive technology, so adding the role="region" and aria-labelledby will give users of assistive technology a way to find and orient to each article on your web page.

Accessible markup should make the page simpler to understand the structure of a document not more complicated, putting <article> in lists seems more complicated to me and most people will not understand why you are doing this, including people with disabilities..

Can you point me to a page where you are using article?

There is a use case for the <article> element and role="article" in nested discussion forums, but it did not seem that that was your application.


-----Original Message-----
From: Ian Yang [mailto:ian@invigoreight.com] 
Sent: Wednesday, May 01, 2013 9:16 AM
To: Gunderson, Jon R
Cc: w3c-wai-ig@w3.org
Subject: Re: Is it a good practice to put <article>s inside <li>s?

On Wed, May 1, 2013 at 9:26 PM, Gunderson, Jon R <jongund@illinois.edu> wrote:
> I would NOT recommend putting <article> inside an <li> element.
> I recommended you add a role="reigon" and aria-labelledby attributes to the <article> element to give each article an accessible name and make sure it is a part of landmark navigation:

Hi Gunderson,

I appreciate your help. However, I take HTML semantics seriously, so I think elements SHOULD be put inside <li>s if they are apparently a list of items. Could you let me know your concern about not doing that?

And could you let me know what are the benefits of using role="reigon"
and aria-labelledby on these <article> elements?

Kind Regards,
Ian Yang
Received on Wednesday, 1 May 2013 14:27:02 UTC

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