Skip to content

Commit

Permalink
Tree Pattern and Examples: Clarify Home Key Description
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
mcking65 committed Mar 16, 2017
1 parent b59b3df commit 3c6c0e2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ <h4>Keyboard Interaction</h4>
</li>
<li><kbd>Down Arrow</kbd>: Moves focus to the next node that is focusable without opening or closing a node.</li>
<li><kbd>Up Arrow</kbd>: Moves focus to the previous node that is focusable without opening or closing a node.</li>
<li><kbd>Home</kbd>: Moves focus to the first node in the tree.</li>
<li><kbd>Home</kbd>: Moves focus to the first node in the tree without opening or closing a node.</li>
<li><kbd>End</kbd>: Moves focus to the last node in the tree that is focusable without opening a node.</li>
<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>
<li>Type-ahead is recommended for all trees, especially for trees with more than 7 root nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/treeview/treeview-1/treeview-1a.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</tr>
<tr>
<th><kbd>Home</kbd></th>
<td>Moves focus to first node.</td>
<td>Moves focus to first node without opening or closing a node.</td>
</tr>
<tr>
<th><kbd>End</kbd></th>
Expand Down
2 changes: 1 addition & 1 deletion examples/treeview/treeview-1/treeview-1b.html
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</tr>
<tr>
<th><kbd>Home</kbd></th>
<td>Moves focus to first node.</td>
<td>Moves focus to first node without opening or closing a node.</td>
</tr>
<tr>
<th><kbd>End</kbd></th>
Expand Down
2 changes: 1 addition & 1 deletion examples/treeview/treeview-2/treeview-2a.html
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</tr>
<tr>
<th><kbd>Home</kbd></th>
<td>Moves focus to first node.</td>
<td>Moves focus to first node without opening or closing a node.</td>
</tr>
<tr>
<th><kbd>End</kbd></th>
Expand Down
2 changes: 1 addition & 1 deletion examples/treeview/treeview-2/treeview-2b.html
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</tr>
<tr>
<th><kbd>Home</kbd></th>
<td>Moves focus to first node.</td>
<td>Moves focus to first node without opening or closing a node.</td>
</tr>
<tr>
<th><kbd>End</kbd></th>
Expand Down

0 comments on commit 3c6c0e2

Please sign in to comment.