- From: Simon Pieters <simonp@opera.com>
- Date: Mon, 18 May 2009 23:44:11 +0200
- To: "Victor Tsaran" <vtsaran@yahoo-inc.com>, sailesh.panchang@deque.com, "Ryan Doherty" <rdoherty@mozilla.com>, wai-xtech@w3.org
On Mon, 18 May 2009 23:23:00 +0200, Victor Tsaran <vtsaran@yahoo-inc.com> wrote:
>> I thought there was a way to name landmarks already: using one of the
>> <h1>-<h6> elements.
> Do you mean by embeding landmarks inside headings?
>
No, by placing a heading in the landmark.
<div role="navigation">
<h2>main menu</h2>
...
</div>
I looked briefly at the ARIA spec and didn't find anything about this, so I was probably wrong. However, I think it's the logical thing to use and it would be nice if the association would just work.
(In HTML5, the <nav> element creates a section, and the outline algorithm will associate an <hgroup> or <h1>-<h6> element with the section, if there is one.)
--
Simon Pieters
Opera Software
Received on Monday, 18 May 2009 21:44:59 UTC