diff --git a/examples/treeview/treeview-1/treeview-1b.html b/examples/treeview/treeview-1/treeview-1b.html index e0d63915e4..fe2f17fbcc 100644 --- a/examples/treeview/treeview-1/treeview-1b.html +++ b/examples/treeview/treeview-1/treeview-1b.html @@ -417,120 +417,119 @@
treeitem
widgets. This requires using focus/blur and mouseover/mouseout events to apply classes to the span
element that is used as the visible label for the treeitem
.aria-setsize
, aria-posinset
and arial-level
, which override any browser compuuted values.
+ The expandable nodes (parent items) in the tree have a custom focus and hover styling created using CSS focus and hover classes.
+ To do this, focus, blur, mouseover, and mouseout events trigger application of classes to the span
element that contains the visible label of the treeitem
.
+
+ A tree item that can be expanded to reveal child items is called a parrent node. + It is a closed node when the children are hidden and an open node when it is expanded. + An end node does not have any children. + For a complete list of terms and definitions, see the + Treeview Design Pattern. +
+Key | -Function | -||
---|---|---|---|
Up arrow | -
+
+ Key |
+ Function |
+ |
Enter or Space |
+
|
- ||
Down arrow | -+ | +||
Down arrow | +
|
- ||
Left Arrow | -
-
|
- ||
Right Arrow | -
-
|
- ||
Return | -+ | +||
Up arrow | +
|
- ||
Space | -
-
|
- ||
Home | -+ | +||
Right Arrow | +
|
- ||
End | -+ | +||
Left Arrow | +
|
- ||
a-z, A-Z | -
-
|
- ||
* | -+ | +||
Home | +Moves focus to first node. | +||
End | +Moves focus to the last node that can be focused without expanding any nodes that are closed. | +||
a-z, A-Z | +
+
|
+ ||
+ * + | +
|
-
ul |
|
aria-label="string" |
ul |
-
tree .
|
||
---|---|---|---|---|---|---|
group |
+ treeitem |
- | ul |
-
-
|
+ li |
+ Identifies the element as a treeitem . |
treeitem |
+ | aria-label="string" |
li |
treeitem .treeitem elements that are parent nodes, i.e., they contain a ul with the group role.li element to avoid having a long, confusing name composed of the names of every node in the branch. |
||
li |
|
li |
|
@@ -618,8 +614,9 @@ li |
|
@@ -628,9 +625,10 @@ aria-expanded="true" |
li |
-
|
@@ -638,35 +636,40 @@ aria-setsize="number" |
li |
+ Defines the number of treeitem elements in the set of treeitem elements that are in the same branch and at the same level within the hierarchy. |
+
+
+ | aria-posinset="number" |
+ li |
|
|||
- | aria-posinset="number" |
+ aria-level="number" |
li |
|
||
group |
- | aria-level="number" |
- li |
+ ul |
|