- From: Alexander Surkov <surkov.alexander@gmail.com>
- Date: Mon, 26 Jan 2009 16:32:22 +0800
- To: wai-xtech@w3.org
- Message-ID: <faf3cb2b0901260032r1eb3519dre1d9bb68cf0ea329@mail.gmail.com>
There is an example of aria-owns usage In the section "Example: building a tree widget" (http://www.w3.org/WAI/PF/aria/#Exampletree): <div role="treeitem" aria-owns="yellowtreegroup">Yellow<div> … <div id="yellowtreegroup" role="group"> <div role="treeitem">Bell peppers</div> <div role="treeitem">Squash</div> </div> which is described as " In the following example, the aria-owns property indicates that the item with id "yellowtreegroup" should be considered a child of the div element with the property, even though it is not a child in the DOM.". It sounds aria-owns attribute should be placed on "yellowtreegroup" element instead of external treeitem element. So that this example should be corrected by the following way <div role="treeitem" id="external_treeitem">Yellow<div> … <div id="yellowtreegroup" role="group" aria-owns="external_treeitem"> <div role="treeitem">Bell peppers</div> <div role="treeitem">Squash</div> </div> Do I understand right? Alex Surkov.
Received on Monday, 26 January 2009 08:37:37 UTC