RE: Is the current definition of the article element in HTML useful?

Bruce Lawson wrote:
" Is there a reason for any semanric to describe a comment, though? does anyone benefit from

<article>
<h1>My wonderful Mankini</h1>
There's only one letter difference between "mankini" and "mankind".

<h2> Two comments</h2>

<article>lol</article>
<article>u SUK</article>

</article>

over

<article>
<h1>My wonderful Mankini</h1>
There's only one letter difference between "mankini" and "mankind".

<h2> Two comments</h2>

<div>lol</div>
<div>u SUK</div>

</article>
?"

None that I can immediately think of. The signal to noise ratio for AT users (screen reader users in particular) improves noticeably with the last example though.

In the first example a screen reader would announce the comments something like:

"Article. LOL. Article end."
"Article. You suck. Article end."

Instead of the less verbose announcements resulting from your second example:

"LOL."
"You suck."

Léonie.




-----Original Message-----
From: Bruce Lawson [mailto:brucel@opera.com] 
Sent: 23 January 2013 13:06
To: public-html@w3.org
Subject: Re: Is the current definition of the article element in HTML useful?

On Wed, 23 Jan 2013 12:52:43 -0000, Léonie Watson <tink@tink.co.uk> wrote:

>
> When article elements are nested, the inner article elements represent 
> self-contained compositions that are related to the contents of the 
> outer article. For instance a website that features book reviews could 
> represent an image of a book cover and its cover text as an article, 
> nested within the article element for the book review.

Is there a reason for any semanric to describe a comment, though? does anyone benefit from

<article>
<h1>My wonderful Mankini</h1>
There's only one letter difference between "mankini" and "mankind".

<h2> Two comments</h2>

<article>lol</article>
<article>u SUK</article>

</article>

over

<article>
<h1>My wonderful Mankini</h1>
There's only one letter difference between "mankini" and "mankind".

<h2> Two comments</h2>

<div>lol</div>
<div>u SUK</div>

</article>

?

Received on Wednesday, 23 January 2013 13:38:23 UTC