Re: aside and figure elements

Shelley Powers, Mon, 07 Jun 2010 14:51:19 -0500:
> Leif Halvard Silli wrote:
>> Also note that if we do
>> 
>> 	<figure role="img">
>> 		<img src="image" role="presentation" >
>>     	<summary>Description</summary>
>> 	</figure>
>> 
>> then <figure>, just like the WAI-ARIA example, groups *two* 
>> elements  - <summary> and <img>.
>>   
> 
> Just a clarification before people get confused:
> 
> It's figcaption, not summary. The summary element is in details.

And for clarification: I have filed a bug for changing the name of 
<figcaption> to <summary>, so that we can have the same caption element 
for both <figure> and <details>. And so I try to seed that idea.

> Shelley
> 
>> PS: We really *must* define <figure> so that it - in general - is 
>> unnecessary to use aria-labelledby for designating the caption. Just 
>> as for the <caption> of <table>, it should be self evident what 
>> <figure>'s caption element is captioning.
>>   
> 
> I believe this was the intent for UAs: that figcaption be treated 
> like table caption, except figcaption allows markup.

I don't understand what you mean by "for UAs". I would say that it is 
meant "for users", including AT users.

Also, regarding confusion: the way HTML5 currently defines it, you can 
have as much mark-up in <caption> as in <figure>'s caption element.

>> And this begs the question: What role does <table>'s <caption> 
>> element have? The best match I could find was the abstract role 
>> "sectionhead": [1]
>> 
>> ]]
>> A structure that labels or summarizes the topic of its related section.
>> ]]
>> 
>> [1] http://www.w3.org/TR/wai-aria/roles#sectionhead
>> 
>> Leif
> Shelley
-- 
leif

Received on Monday, 7 June 2010 20:21:50 UTC