Hey Patrick, Yes I understand your doubts but the starting point was that Chris wanted a Hx element semantically connected with a list (with valid xhtml code). I think my solution is okay but I'd never use it ;) I use the plain DL that has DT elements useable for "pseudo-headings".
Janos 2005/11/6, Patrick H. Lauke <[EMAIL PROTECTED]>: > Janos Hardi wrote: > > > I do not know is this a solution for our problem but it seems it does > > the semantic and valid job - i made it a bit complex but its now a > > closely real-world example :) > > > > <h1><label for="stuff-list"><a accesskey="0" href="">This is a Header > > for my stuff list</a></label></h1> > > <ul id="stuff-list"> > > <li><a accesskey="1" id="stuff1" href="">my stuff No.1</a></li> > > <li><a accesskey="2" id="stuff2" href="">my stuff No.2</a></li> > > </ul> > > Hmmm...the spec for label only mentions association with form controls, > not with things like lists as in your example. > http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.9 > > I'd question if this has any use at all, I'm afraid. Yes, it > validates...but no user agent would take advantage of this, as it's such > an exotic "loop hole" (or lack of specific enough rules) in the spec. > > P > -- > Patrick H. Lauke > __________________________________________________________ > re·dux (adj.): brought back; returned. used postpositively > [latin : re-, re- + dux, leader; see duke.] > www.splintered.co.uk | www.photographia.co.uk > http://redux.deviantart.com > __________________________________________________________ > Web Standards Project (WaSP) Accessibility Task Force > http://webstandards.org/ > __________________________________________________________ > ****************************************************** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ****************************************************** > > ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
