Nesting h1 inside the ul like that is invalid markup so that's a problem.. Children of <ul> have to be <li> In relation to marking up a title for lists I would probably use the aria tag aria-labelledby IE: <h1 id="list_title">The list title<h1> <ul aria-labelledby="list_title"> <li>...</li> </ul> That way the semantic connection between the list and the heading is kept which I think is the purpose of what you're wanting, yes? Cheers, S
-----Original Message----- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Simon Josephson Sent: Monday, 5 March 2012 2:07 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] list heading - best practice? Is there good reason NOT to use - #UL H1 ... so - <ul><h1>...<h1> <li>...</li> </ul> rather than what I read here as <h1>..</h1> <ul> <li>.. </li> </ul> Simon Josephson si...@artatwork.com.au .................................................................................... On 05/03/2012, at 11:24 AM, Mathew Robertson wrote: > Interesting... who said that H? has document scope only? > > http://dev.w3.org/html5/spec/Overview.html#the-h1-h2-h3-h4-h5-and-h6-elements > > Show examples of multiple H1's... H? is indeed suitable as a heading to a > list. > > cheers, > Mathew Robertson > > > On 3 March 2012 04:38, Hanspeter Kadel <h...@supernodegree.com> wrote: > > <h?> before the list. > > thats the way i do it, but it doesn't feel right. > > in most of my cases the <UL> is more secondary content, like menus etc. > > i want to keep <H1> to <H6> for structuring the main content. > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > ******************************************************************* > > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* - Please consider the environment before printing this e-mail. The information contained in this email and any attachment is confidential and may contain legally privileged or copyright material. It is intended only for the use of the addressee(s). If you are not the intended recipient of this email, you are not permitted to disseminate, distribute or copy this email or any attachments. If you have received this message in error, please notify the sender immediately and delete this email from your system. The ABC does not represent or warrant that this transmission is secure or virus free. Before opening any attachment you should check for viruses. The ABC's liability is limited to resupplying any email and attachments. ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************