My understanding is that Hotkey can assign accesskeys to submit buttons. Is this correct? It would be more useful to me if it would allow configuration of accesskeys on the node's tabs (View, Edit, etc.).

Thanks for helping Drupal become more accessible!

Comments

shawn conn’s picture

When I first set out to do this module, this was one of my ideas as well. As my current implementation stands, this is not possible. Hotkey right now only works for Drupal forms using the hook_form_alter to modify any form that Drupal builds. In order to do this, I would need to look at implementation that would modify *any* page Drupal renders. Currently, I don't know enough about Drupal's complete step-by-step page rendering system to this. If/when I learn how to modify any Drupal page, I will look into this feature for sure.

Christefano-oldaccount’s picture

Yes, I see the difficulty there. How about adding a block with the available accesskeys that have been configured in Hotkey?

shawn conn’s picture

You could be onto something there. I could make a block that had specific links to URLs with accesskey attributes. This would be a different approach from what I do currently. The only problem I foresee is that depending on the page the URL is going to be different. Not a big problem but something to consider. When I get started on the next revision I will look into this. Thanks for your feedback.

shawn conn’s picture

Version: 5.x-1.0 » 5.x-2.1
Status: Active » Closed (fixed)

In the latest release 2.x version of hotkey, you're now able to add links onto node pages. By default, hotkey now adds an edit link (with accesskey="e") to every node page.

Christefano-oldaccount’s picture

Fantastic. Thanks!