window.onkeypress=access;
function access(event){
if(event.keyCode='[insert character here]'){
code to execute here;}
elseif(event.keyCode='[insert character here]'){
...etc...
}
I don't know how well this would work for screenreaders and such, but it works for all the common browsers.
Alan Trick
tee wrote:
I'd read a couple of blogs regarding the access keys, although opinion are spitted, I decided to implement access keys on my sites. While fixing my sites in different languages, I realized I cannot use the same access keys for both, say Traditional Chinese and Simplified Chinese, and here a disturbing question emerges. We can only use 26 alphabet + 0 to 9 digit right? In this case there are only 36 access keys we can use. How can one solves this dilemma if a site involve with more than 36 pages?
tee
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
