Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled keyboard accessibility #305

Merged
merged 1 commit into from
May 16, 2013
Merged

Enabled keyboard accessibility #305

merged 1 commit into from
May 16, 2013

Conversation

debugwand
Copy link
Contributor

Enabled keyboard accessibility by

  1. adding in tabindex=0 to the th elements dynamically so that they can be focussed
  2. adding keypress and then ignoring anything that isn't the enter key.

I was unable to work out what the section commented as // apply easy methods that trigger bound events did, so haven't added keypress to the unbind list there. Could you please check if it is required there?

@Mottie
Copy link
Owner

Mottie commented May 14, 2013

Very cool enhancement! 👍 I'll include it in the next update!

Mottie added a commit that referenced this pull request May 16, 2013
Enabled keyboard accessibility
@Mottie Mottie merged commit 3c3e059 into Mottie:master May 16, 2013
@cowohl
Copy link

cowohl commented Oct 2, 2013

You don't want to return false on keypress, or you won't be able to use the keyboard to tab off of the element. All you need is "return".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants