Skip to content

Commit

Permalink
Change kbd elements with 3 keys into 3 kbd elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcking65 committed Aug 11, 2024
1 parent 9c2b8f9 commit 3972e61
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions content/patterns/listbox/examples/listbox-rearrangeable.html
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,11 @@ <h3 id="kbd_label_multiselect">Multiple selection keys supported in example 2</h
<td>Moves focus to and selects the previous option.</td>
</tr>
<tr data-test-id="key-control-shift-home">
<th><kbd>Control + Shift + Home</kbd></th>
<th><kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>Home</kbd></th>
<td>Selects from the focused option to the beginning of the list.</td>
</tr>
<tr data-test-id="key-control-shift-end">
<th><kbd>Control + Shift + End</kbd></th>
<th><kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>End</kbd></th>
<td>Selects from the focused option to the end of the list.</td>
</tr>
<tr data-test-id="key-control-a">
Expand Down
8 changes: 4 additions & 4 deletions content/patterns/listbox/listbox-pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ <h2>Keyboard Interaction</h2>
<li><kbd>Shift</kbd> + <kbd>Up Arrow</kbd> (Optional): Moves focus to and toggles the selected state of the previous option.</li>
<li><kbd>Shift</kbd> + <kbd>Space</kbd> (Optional): Selects contiguous items from the most recently selected item to the focused item.</li>
<li>
<kbd>Control + Shift + Home</kbd> (Optional): Selects the focused option and all options up to the first option.
<kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>Home</kbd> (Optional): Selects the focused option and all options up to the first option.
Optionally, moves focus to the first option.
</li>
<li>
<kbd>Control + Shift + End</kbd> (Optional): Selects the focused option and all options down to the last option.
<kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>End</kbd> (Optional): Selects the focused option and all options down to the last option.
Optionally, moves focus to the last option.
</li>
<li>
Expand All @@ -136,11 +136,11 @@ <h2>Keyboard Interaction</h2>
<li><kbd>Control</kbd> + <kbd>Space</kbd> Changes the selection state of the focused option.</li>
<li><kbd>Shift</kbd> + <kbd>Space</kbd> (Optional): Selects contiguous items from the most recently selected item to the focused item.</li>
<li>
<kbd>Control + Shift + Home</kbd> (Optional): Selects the focused option and all options up to the first option.
<kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>Home</kbd> (Optional): Selects the focused option and all options up to the first option.
Optionally, moves focus to the first option.
</li>
<li>
<kbd>Control + Shift + End</kbd> (Optional): Selects the focused option and all options down to the last option.
<kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>End</kbd> (Optional): Selects the focused option and all options down to the last option.
Optionally, moves focus to the last option.
</li>
<li>
Expand Down
8 changes: 4 additions & 4 deletions content/patterns/treeview/treeview-pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ <h2>Keyboard Interaction</h2>
<li><kbd>Shift</kbd> + <kbd>Up Arrow</kbd> (Optional): Moves focus to and toggles the selection state of the previous node.</li>
<li><kbd>Shift</kbd> + <kbd>Space</kbd> (Optional): Selects contiguous nodes from the most recently selected node to the current node.</li>
<li>
<kbd>Control + Shift + Home</kbd> (Optional): Selects the node with focus and all nodes up to the first node.
<kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>Home</kbd> (Optional): Selects the node with focus and all nodes up to the first node.
Optionally, moves focus to the first node.
</li>
<li>
<kbd>Control + Shift + End</kbd> (Optional): Selects the node with focus and all nodes down to the last node.
<kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>End</kbd> (Optional): Selects the node with focus and all nodes down to the last node.
Optionally, moves focus to the last node.
</li>
<li>
Expand All @@ -154,11 +154,11 @@ <h2>Keyboard Interaction</h2>
<li><kbd>Control</kbd> + <kbd>Space</kbd>: Toggles the selection state of the focused node.</li>
<li><kbd>Shift</kbd> + <kbd>Space</kbd> (Optional): Selects contiguous nodes from the most recently selected node to the current node.</li>
<li>
<kbd>Control + Shift + Home</kbd> (Optional): Selects the node with focus and all nodes up to the first node.
<kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>Home</kbd> (Optional): Selects the node with focus and all nodes up to the first node.
Optionally, moves focus to the first node.
</li>
<li>
<kbd>Control + Shift + End</kbd> (Optional): Selects the node with focus and all nodes down to the last node.
<kbd>Control</kbd> + <kbd>Shift</kbd> + <kbd>End</kbd> (Optional): Selects the node with focus and all nodes down to the last node.
Optionally, moves focus to the last node.
</li>
<li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ <h2>Key Assignment Conventions for Common Functions</h2>
<tr>
<th scope="row">Redo action</th>
<td><kbd>Control</kbd> + <kbd>Y</kbd></td>
<td><kbd>Command + Shift + Z</kbd></td>
<td><kbd>Command</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd></td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 3972e61

Please sign in to comment.