Transference.org
read / discuss / question

Links / Related: Bibliophil / Cool: Ergonomic Igloo

Login:    Password:      Don't have a username? Register!

Discussion > Transference.org > Keyboard Shortcuts

Keyboard Shortcuts

cruise (October 18th, 2002, 4:14 pm)

ran across this www.w3.org/TR/html401/interact/forms.html#access-keys article today...figured that it was pretty cool...

So, you can now hit Alt+N to go directly to the new post title box, on both forum and thread views.

Any other suggestions as to where a shortcut key would be handy?

Interesting!

Narainsbrain (October 19th, 2002, 4:26 am)

The new beta of Yahoo Mail uses this, I think... I'd thought they were doing nasty things with JavaScript to do it, and I hadn't liked it, but if it's W3C-certified, then great! =)

Of course, I'd probably hardly use any new keyboard shortcuts: Tab and PgDn/PgUp do well enough for me. Never took the time to learn Yahoo's... But hey, this is TranSFerencE, I tell myself. Gotta put in some effort for TsfE, I remind me.

Anyway, if you want suggestions, try Alt-S for jumping to Submissions, Alt-D or Alt-F for the discussion forum, and maybe Alt-L for login/logout?

Hmmm...

Wanderer (October 19th, 2002, 10:03 am)

What if alt+n happens to be a keyboard shortcut to my browsers navigation menu?

Oh, wait...

Narainsbrain (October 20th, 2002, 5:21 am)

I just looked at the w3c page again, and it seems accesskeys only work for form input fields, not links and stuff. Which means the new post form is the only thing that'll get a shortcut key, since it's the only form on most pages. Dang. So Yahoo Mail /is/ screwing with JavaScript.

Wanderer, I guess the browser's own binding would override the accesskey, if there's a clash.

Clarification

Hellkeepa (October 20th, 2002, 6:02 pm)

HELLo!

Yes, accesskeys are W3C-certified, and they only apply to forms.

However, you can trick it to work with links as well (without lots of nasty JS). ;-)

It's quite simple: Create a form with the nessecary fields as "hidden", without any buttons (of course), and then make a link which looks like this:

<A HREF="#" onclick="this.form.submit ()">test</A>

That's all. ;-)

PS: Yes, the browser's hotkeys take preference.

Happy fraggin'!

Discussion > Transference.org > Keyboard Shortcuts

Register to post.