W3C home > Mailing lists > Public > wai-xtech@w3.org > May 2007

Re: lend scope to Headers with @aaa:labelledby ??

From: Gez Lemon <gez.lemon@gmail.com>
Date: Sun, 20 May 2007 20:18:46 +0100
Message-ID: <e2a28a920705201218y1513772ara60abe1820e0dae1@mail.gmail.com>
To: wai-xtech@w3.org

Hi Al,

> In the past I once alluded to a technique that one could use with the HTML
> header markup to give a machine-understandable indication of exactly what
> content the header heads or labels.
>
> In that conversation, I mentioned using a <div> but any container will do if
> there is a container that is the right scope.
>
> ** Example:
>
> <div aaa:labelledby="#h3-13">
> <h3 id="h3-13">subsection heading</h3>
> <p> foo </p>
> <!-- more content -->
> </div>

I think this is a good idea, but can't help thinking it might
sometimes be more appropriate to have the header outside of the block,
and the block itself reference the header. I'm not familiar with XAG
2.5, and the consequences of the recommendation for providing a
complete containment structure, but I quite like the idea that more
than one containing block could belong to a section, so your example
could be expressed with:

<h3 id="h3-13">subsection heading</h3>
<div  aaa:labelledby="h3-13">
<p> foo </p>
<!-- more content -->
</div>

Or more simple structures that wouldn't necessarily benefit from being
in a redundant block could also use the same syntax:

<h3 id="h3-13">subsection heading</h3>
<div  aaa:labelledby="h3-13">
<p  aaa:labelledby="h3-13">foo</p>
<dl   aaa:labelledby="h3-13">
  <dt>Term 1</dt>
  <dd>Definition 1</dd>
  <dt>Term 1</dt>
  <dd>Definition 1</dd>
  <dt>Term 1</dt>
  <dd>Definition 1</dd>
</dl>

Also, I assume the value for the labelledby property wouldn't require
fragment identifier notation, as it's just referencing an id?

Best regards,

Gez



-- 
_____________________________
Supplement your vitamins
http://juicystudio.com
Received on Sunday, 20 May 2007 19:18:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 13:15:42 GMT