-
Notifications
You must be signed in to change notification settings - Fork 440
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
Select with Tab Key #85
Comments
Pull request #107 attempts to resolve this, however it fails when a I'm going to create a new pull request that resolves this shortly. |
@jamiedavidreid eta? I'm working on aria support and I'd like to include your changes. |
@cafune Are you still working on this or do you know if there is a way on how to make toggles this component produces better accessible with assistive technologies - screen readers? |
@pvagner I switched to using this library rather than trying to jury rig this one. |
I solved by modifying and adding listener to $(function() {
var $elements;
$elements = $("div.toggle");
if ($elements.length > 0) {
$elements.attr("tabindex", 0);
$elements.keydown(function(event) {
if (event.keyCode === 32) {
return $(this).trigger('click');
}
});
}
}); |
Love the graphical aspect of the toggles. However, it seems that the toggles are no longer selectable via a Tab press. It's not just that the order of
tabindex
is messed up; you can't even get to them without a pointing device.The text was updated successfully, but these errors were encountered: