You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
$toggleHandle at line 55 needs to be a <button>, not a <span>.
Pull request #107 attempts to resolve this, however it fails when a tabindex is manually declared on elements as the tabindex is not passed through to $toggleHandle.
I'm going to create a new pull request that resolves this shortly.
@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?
Activity
JamieReid77 commentedon Mar 18, 2016
$toggleHandleat line 55 needs to be a<button>, not a<span>.Pull request #107 attempts to resolve this, however it fails when a
tabindexis manually declared on elements as the tabindex is not passed through to$toggleHandle.I'm going to create a new pull request that resolves this shortly.
Nfinished commentedon Apr 25, 2016
@jamiedavidreid eta? I'm working on aria support and I'd like to include your changes.
pvagner commentedon Jul 7, 2016
@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?
Nfinished commentedon Jul 7, 2016
@pvagner I switched to using this library rather than trying to jury rig this one.
nelson6e65 commentedon Feb 14, 2017
I solved by modifying and adding listener to
div.toggle: