- From: James Craig <jcraig@apple.com>
- Date: Tue, 10 Jun 2008 16:36:35 -0700
- To: W3C WAI-XTECH <wai-xtech@w3.org>
ISSUE: ARIA 5/14 Draft, Section 2.6, groups/relationships wording unclear http://www.w3.org/WAI/PF/aria/#Exampletree The third list item in this section says, "When a treeitem contains an embedded list of treeitems they will be all embedded in a group. A group should be contained inside the tree item that is the parent item." Parent has a very specific meaning in DOM markup. There is some ambiguity as to whether this reference to "parent" refers to the DOM parent node or the treeitem that is the parent branch of this group. I'd suggest rewording this to something like this: "When a treeitem contains an embedded list of treeitems, they will be embedded in an element with a role of 'group'. A group's parent branch is the nearest DOM ancestor with a role of 'treeitem'." PS. The note following the example says, "[Regarding ul/li elements,] I didn't see a way to easily show/hide sections using CSS w/o also hiding the parent." Not sure how old that note is, but the issue is that the event, as specified, is on the entire treeitem. You could expand the script to prevent the event from bubbling or, for sake of example simplicity, move the event onto a child node of treeitem that contains just the text, not the subtree group. If needed, I can create an example that works with standard ul/li list hierarchy.
Received on Tuesday, 10 June 2008 23:37:16 UTC