Shawn,
I think you may be missing the point of Access keys. I am by no means an
expert in this regard or in all their uses, but my understanding is that
Access keys are designed to make websites accessible to individuals who
have difficulty using a mouse. Instead, such individuals can use a
keyboard (e.g. the Enter key) and Access keys to navigate a web page.
Thus, it doesn't really make sense to talk about OnClick (a mouse event)
and Access keys. The Access key jumps the user to the link and then the
user hits Enter to jump to the linked reference.
If you'd like to see an example of access keys in action, try
http://www.brainrehab.ca/Credentials-General.asp (note: the client has not
update the staff bios yet from the dummy info so the info is all
duplicated). The site is for a charity-based organization that helps
people with brain injuries, thus Accessibility was a critical requirement.
"Santa"
> I have a couple of questions...
> First, I am trying to associate AccessKey to the selectable controls
(> buttons) on my web page and I cannot figure out how to place an
u> nderscore within the value of the button (e.g. Save). Any ideas?
> Second, how do you trigger an OnClick event with an AccessKey? I have a
w> eb page that requires the look of Tab Pages. I was able to do that
with
a> TABLE and everything looks great. As I mentioned in the first
question
I> need to have AccessKey functionality. I can associate an AccessKey to
t> he TD of a Tab, however it does not trigger the OnClick event. It
does
p> rovide focus, although I need to hit the ENTER key in order to trigger
t> he OnClick event. Any suggestions or ideas?
> Thanks for any assistance that you can provide,
-> - Shawn