web commit by http://jblevins.org/: Ideas about keyboard shortcuts

master
Joey Hess 2008-03-21 18:14:06 -04:00
parent 060183df67
commit e8ff29fa33
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
Access keys (i.e., keyboard shortcuts) can be defined for common
features. Something like the following:
* 1 - Homepage
* 2 - Search box
* E - Edit
* R - RecentChanges
* H - History
* P - Preferences
* D - Discussion
* S - Save the current page (when editing)
* C - Cancel the current edit
* V - Preview the current page
Then, for example, in Firefox one could press Alt+Shift+E to edit the
page.
For links, this is implemented as:
<a href="recentchanges/" accesskey="r">RecentChanges</a>
and for forms buttons:
<input type="submit" value="Submit" accesskey="s"/>
--[[JasonBlevins]], March 21, 2008 18:05 EDT