23.01.2018 Views

MICROSOFT_PRESS_EBOOK_PROGRAMMING_WINDOWS_8_APPS_WITH_HTML_CSS_AND_JAVASCRIPT_PDF

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Standard Keystrokes<br />

The last piece I wanted to include on the subject of the keyboard is a table of command keystrokes you<br />

might support in your app. These are in addition to the touch language equivalents, and you’re<br />

probably accustomed to using many of them already. They’re good to review because again, apps<br />

should be fully usable with just the keyboard, and implementing keystrokes like these goes a long way<br />

toward fulfilling that requirement and enabling more efficient use of your app by keyboard users.<br />

Action or Command<br />

Keystroke<br />

Move focus<br />

Tab<br />

Back (navigation)<br />

Back button on special keyboards; backspace if not in a text field; Alt+left arrow<br />

Forward (navigation<br />

Alt+right arrow<br />

Up<br />

Alt+up arrow<br />

Cancel/Escape from mode<br />

ESC<br />

Walk through items in a list<br />

Arrow keys (plus Tab)<br />

Jump through items in a list to next group if Ctrl+arrow keys<br />

selection doesn’t automatically follow focus<br />

Zoom (semantic and optical)<br />

Ctrl+ and Ctrl-<br />

Jump to something in a named collection Start typing<br />

Jump far<br />

Page up/down (should work in panning UI, in either horizontal or vertical<br />

directions)<br />

Next tab or group<br />

Ctrl+Tab<br />

Previous tab or group<br />

Ctrl+Shift+Tab<br />

Nth tab or group Ctrl+N (1-9)<br />

Open app bar (Windows handles this<br />

Win+Z<br />

automatically)<br />

Context menu<br />

Context menu key<br />

Open additional flyout/select menu item Enter<br />

Navigate into/activate<br />

Enter (on a selection)<br />

Select<br />

Space<br />

Select contiguous<br />

Shift+arrow keys<br />

Pin this<br />

Ctrl+Shift+!<br />

Save<br />

Ctrl+S<br />

Find<br />

Ctrl+F<br />

Print<br />

Ctrl+P (call Windows.Graphics.Printing.PrintManager.showPrintUIAsync)<br />

Copy<br />

Ctrl+C<br />

Cut<br />

Ctrl+X<br />

Paste<br />

Ctrl+V<br />

New Item<br />

Ctrl+N<br />

Open address<br />

Ctrl+L or Alt+D<br />

Rotate<br />

Ctrl+, and Ctrl+.<br />

Play/Pause<br />

Ctrl+P (media apps only)<br />

Next item<br />

Ctrl+F (conflict with Find)<br />

Previous item<br />

Ctrl+B<br />

Rewind<br />

Ctrl+Shift+B<br />

Fast forward<br />

Ctrl+Shift+F<br />

395

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!