Skip to content

Commit

Permalink
Listbox Pattern: Clarify optional selection keyboard commands
Browse files Browse the repository at this point in the history
To make listbox consistent with changes in commit 3dab932 made for issue #708,
modified listbox pattern section in aria-practices.html:
* Change ctrl-shift-home to state that it can optionally move focus to the first node.
* Change ctrl-shift-end to state that it can optionally move focus to the last node.
  • Loading branch information
mcking65 committed Jun 25, 2018
1 parent 3dab932 commit 18158ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aria-practices.html
Expand Up @@ -1676,8 +1676,8 @@ <h4>Keyboard Interaction</h4>
<li><kbd>Shift + Down Arrow</kbd> (Optional): Moves focus to and toggles the selected state of the next option.</li>
<li><kbd>Shift + Up Arrow</kbd> (Optional): Moves focus to and toggles the selected state of the previous option.</li>
<li><kbd>Shift + 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.</li>
<li><kbd>Control + Shift + End</kbd> (Optional): Selects the focused option and all options down to the last option.</li>
<li><kbd>Control + Shift + 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. Optionally, moves focus to the last option.</li>
<li><kbd>Control + A</kbd> (Optional): Selects all options in the list. Optionally, if all options are selected, it may also unselect all options.</li>
</ul>
</li>
Expand All @@ -1689,8 +1689,8 @@ <h4>Keyboard Interaction</h4>
<li><kbd>Control + Up Arrow</kbd>: Moves focus to the previous option without changing its selection state.</li>
<li><kbd>Control + Space</kbd> Changes the selection state of the focused option. </li>
<li><kbd>Shift + 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.</li>
<li><kbd>Control + Shift + End</kbd> (Optional): Selects the focused option and all options down to the last option.</li>
<li><kbd>Control + Shift + 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. Optionally, moves focus to the last option.</li>
<li><kbd>Control + A</kbd> (Optional): Selects all options in the list. Optionally, if all options are selected, it may also unselect all options.</li>
</ul>
</li>
Expand Down

0 comments on commit 18158ea

Please sign in to comment.