Skip to content

Commit 3c6c0e2

Browse files
committed
Tree Pattern and Examples: Clarify Home Key Description
For issues #223, #224, #225, and #226, modified the keyboard table of the tree view example pages and the keyboard section of the tree view design pattern. For the description of the Home key, per suggestion from @annabbott and @MichielBijl, added the phrase "without opening or closing a node".
1 parent b59b3df commit 3c6c0e2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

aria-practices.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,7 @@ <h4>Keyboard Interaction</h4>
20822082
</li>
20832083
<li><kbd>Down Arrow</kbd>: Moves focus to the next node that is focusable without opening or closing a node.</li>
20842084
<li><kbd>Up Arrow</kbd>: Moves focus to the previous node that is focusable without opening or closing a node.</li>
2085-
<li><kbd>Home</kbd>: Moves focus to the first node in the tree.</li>
2085+
<li><kbd>Home</kbd>: Moves focus to the first node in the tree without opening or closing a node.</li>
20862086
<li><kbd>End</kbd>: Moves focus to the last node in the tree that is focusable without opening a node.</li>
20872087
<li><kbd>Enter</kbd>: activates a node, i.e., performs its default action. For parent nodes, one possible default action is to open or close the node. In single-select trees where selection does not follow focus (see note below), the default action is typically to select the focused node.</li>
20882088
<li>Type-ahead is recommended for all trees, especially for trees with more than 7 root nodes:

examples/treeview/treeview-1/treeview-1a.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
340340
</tr>
341341
<tr>
342342
<th><kbd>Home</kbd></th>
343-
<td>Moves focus to first node.</td>
343+
<td>Moves focus to first node without opening or closing a node.</td>
344344
</tr>
345345
<tr>
346346
<th><kbd>End</kbd></th>

examples/treeview/treeview-1/treeview-1b.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
500500
</tr>
501501
<tr>
502502
<th><kbd>Home</kbd></th>
503-
<td>Moves focus to first node.</td>
503+
<td>Moves focus to first node without opening or closing a node.</td>
504504
</tr>
505505
<tr>
506506
<th><kbd>End</kbd></th>

examples/treeview/treeview-2/treeview-2a.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
417417
</tr>
418418
<tr>
419419
<th><kbd>Home</kbd></th>
420-
<td>Moves focus to first node.</td>
420+
<td>Moves focus to first node without opening or closing a node.</td>
421421
</tr>
422422
<tr>
423423
<th><kbd>End</kbd></th>

examples/treeview/treeview-2/treeview-2b.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
549549
</tr>
550550
<tr>
551551
<th><kbd>Home</kbd></th>
552-
<td>Moves focus to first node.</td>
552+
<td>Moves focus to first node without opening or closing a node.</td>
553553
</tr>
554554
<tr>
555555
<th><kbd>End</kbd></th>

0 commit comments

Comments
 (0)