Skip to content

Commit

Permalink
Spinbutton Pattern: Clarify Home and End key guidance
Browse files Browse the repository at this point in the history
For issue #446, Modified the spinbutton pattern in aria-practices.html.
Added language to make it clear that
Home and End are only needed for spinbuttons that have min and max values.
  • Loading branch information
mcking65 committed Aug 28, 2017
1 parent 0300f09 commit f492516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -1819,8 +1819,8 @@ <h4>Keyboard Interaction</h4>
</li>
<li><kbd>Up Arrow</kbd>: Increases the value.</li>
<li><kbd>Down Arrow</kbd>: Decreases the value.</li>
<li><kbd>Home</kbd>: Sets the spinbutton to the minimum value.</li>
<li><kbd>End</kbd>: Sets the spinbutton to the maximum value.</li>
<li><kbd>Home</kbd>: If the spinbutton has a minimum value, sets the value to its minimum.</li>
<li><kbd>End</kbd>: If the spingutton has a maximum value, sets the value to its maximum.</li>
<li><kbd>Page Up</kbd> (Optional): Increases the value by a larger step than <kbd>Up Arrow</kbd>.</li>
<li><kbd>Page Down</kbd> (Optional): Decreases the value by a larger step than <kbd>Down Arrow</kbd>.</li>
</ul>
Expand Down

0 comments on commit f492516

Please sign in to comment.