A treeitemelement can contain a sub-level group of elements that can be expanded or collapsed. An expandable collection of treeitem elements are enclosed in an element with the grouprole.
When these rules are combined, a conflict arises. While the tree role can have a group as a child, the treeitem role only permits a group as its parent if that group is itself a child of another treeitem. This creates a contradiction, as the tree allows for a group child, but the treeitem role does not allow a group as its parent unless it is nested under another treeitem.
Therefore, the tree role should only allow treeitem as its accessibility child role.
The
treeitem
role has specific requirements for its accessibility parent roles:On the other hand, the
tree
role allows certain accessibility child roles:When these rules are combined, a conflict arises. While the
tree
role can have agroup
as a child, thetreeitem
role only permits agroup
as its parent if thatgroup
is itself a child of anothertreeitem
. This creates a contradiction, as thetree
allows for agroup
child, but thetreeitem
role does not allow agroup
as its parent unless it is nested under anothertreeitem
.Therefore, the
tree
role should only allowtreeitem
as its accessibility child role.