-
Notifications
You must be signed in to change notification settings - Fork 75
All: Normalize keyboard interaction markup #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,23 +11,23 @@ | |
|
||
<p>When the menu is open, the following key commands are available:</p> | ||
<ul> | ||
<li>UP/LEFT: Move focus to the previous item.</li> | ||
<li>DOWN/RIGHT: Move focus to the next item.</li> | ||
<li>END/PAGE DOWN: Move focus to the last item.</li> | ||
<li>HOME/PAGE UP: Move focus to the first item.</li> | ||
<li>ESCAPE: Close the menu.</li> | ||
<li>ENTER/SPACE: Select the currently focused item and close the menu.</li> | ||
<li>ALT+UP/DOWN: Toggle the visibility of the menu.</li> | ||
<li><code>UP</code>/<code>LEFT</code> - Move focus to the previous item.</li> | ||
<li><code>DOWN</code>/<code>RIGHT</code> - Move focus to the next item.</li> | ||
<li><code>END</code>/<code>PAGE DOWN</code> - Move focus to the last item.</li> | ||
<li><code>HOME</code>/<code>PAGE UP</code> - Move focus to the first item.</li> | ||
<li><code>ESCAPE</code> - Close the menu.</li> | ||
<li><code>ENTER</code>/<code>SPACE</code> - Select the currently focused item and close the menu.</li> | ||
<li><code>ALT</code> + <code>UP</code>/<code>DOWN</code> - Toggle the visibility of the menu.</li> | ||
</ul> | ||
|
||
<p>When the menu is closed, the following key commands are available:</p> | ||
<ul> | ||
<li>UP/LEFT: Select the previous item.</li> | ||
<li>DOWN/RIGHT: Select the next item.</li> | ||
<li>END/PAGE DOWN: Select the last item.</li> | ||
<li>HOME/PAGE UP: Select the first item.</li> | ||
<li>ALT+UP/DOWN: Toggle the visibility of the menu.</li> | ||
<li>SPACE: Open the menu.</li> | ||
<li><code>UP</code>/<code>LEFT</code> - Select the previous item.</li> | ||
<li><code>DOWN</code>/<code>RIGHT</code> - Select the next item.</li> | ||
<li><code>END</code>/<code>PAGE DOWN</code> - Select the last item.</li> | ||
<li><code>HOME</code>/<code>PAGE UP</code> - Select the first item.</li> | ||
<li><code>ALT</code> + <code>UP</code>/<code>DOWN</code> - Toggle the visibility of the menu.</li> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose we can do that everywhere. Are their Mac keyboards that don't write "alt" on the option key? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They all do to my knowledge, but referring to the key as “option” is common, and I don't think it hurts to be explicit here. |
||
<li><code>SPACE</code> - Open the menu.</li> | ||
</ul> | ||
</longdesc> | ||
<note id="functional-css"/> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,21 +38,21 @@ | |
|
||
<p>When focus is on a tab, the following key commands are available:</p> | ||
<ul> | ||
<li>UP/LEFT: Move focus to the previous tab. If on first tab, moves focus to last tab. Activate focused tab after a short delay.</li> | ||
<li>DOWN/RIGHT: Move focus to the next tab. If on last tab, moves focus to first tab. Activate focused tab after a short delay.</li> | ||
<li>HOME: Move focus to the first tab. Activate focused tab after a short delay.</li> | ||
<li>END: Move focus to the last tab. Activate focused tab after a short delay.</li> | ||
<li>SPACE: Activate panel associated with focused tab.</li> | ||
<li>ENTER: Activate or toggle panel associated with focused tab.</li> | ||
<li>ALT+PAGE UP: Move focus to the previous tab and immediately activate.</li> | ||
<li>ALT+PAGE DOWN: Move focus to the next tab and immediately activate.</li> | ||
<li><code>UP</code>/<code>LEFT</code> - Move focus to the previous tab. If on first tab, moves focus to last tab. Activate focused tab after a short delay.</li> | ||
<li><code>DOWN</code>/<code>RIGHT</code> - Move focus to the next tab. If on last tab, moves focus to first tab. Activate focused tab after a short delay.</li> | ||
<li><code>HOME</code> - Move focus to the first tab. Activate focused tab after a short delay.</li> | ||
<li><code>END</code> - Move focus to the last tab. Activate focused tab after a short delay.</li> | ||
<li><code>SPACE</code> - Activate panel associated with focused tab.</li> | ||
<li><code>ENTER</code> - Activate or toggle panel associated with focused tab.</li> | ||
<li><code>ALT</code> + <code>PAGE UP</code> - Move focus to the previous tab and immediately activate.</li> | ||
<li><code>ALT</code> + <code>PAGE DOWN</code> - Move focus to the next tab and immediately activate.</li> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comments about |
||
</ul> | ||
|
||
<p>When focus is in a panel, the following key commands are available:</p> | ||
<ul> | ||
<li>CTRL+UP: Move focus to associated tab.</li> | ||
<li>ALT+PAGE UP: Move focus to the previous tab and immediately activate.</li> | ||
<li>ALT+PAGE DOWN: Move focus to the next tab and immediately activate.</li> | ||
<li><code>CTRL</code> + <code>UP</code> - Move focus to associated tab.</li> | ||
<li><code>ALT</code> + <code>PAGE UP</code> - Move focus to the previous tab and immediately activate.</li> | ||
<li><code>ALT</code> + <code>PAGE DOWN</code> - Move focus to the next tab and immediately activate.</li> | ||
</ul> | ||
|
||
<xi:include href="../includes/widget-theming.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ALT
/OPTION
?