mozilla / SocialShare

Protect users' privacy - share user data only when people are ready to share.
BSD 3-Clause "New" or "Revised" License
27 stars 10 forks source link

Make it keyboard friendly #23

Open icaaq opened 12 years ago

icaaq commented 12 years ago

"Share this" should be able to receive focus via the keyboard and the user should be able to alter the different states (open/close) via return and space

tallowen commented 12 years ago

I'm not sure that taking over return and space makes sense. I've added a patch that closes the plugin on pressing the escape key.

icaaq commented 12 years ago

How should keyboard users open the widget then? It' a normal behavior that, when a widget has received focus and the user press return or space the open/close states alters.