Skip to content
This repository

Flip toggle switch in 1.1 not keyboard accessible + focus issues #3656

toddparker opened this Issue · 0 comments

2 participants

Todd Parker Ghislain Seguin
Todd Parker

There is a regression with the flip switch that completely keeps it out of the tabindex. If you go here:

  1. focus in the search input
  2. hit "tab"
  3. Focus moves right into the slider's input, completely skipping the flip switch

The focus should be on the whole control (blue glow around the whole thing) and should be flipped via the keyboard's arrow keys. 1.0.1 is keyboard accessible but is lacking the focus class:

If you manually click on the switch to try and give it focus, it sometimes gets the focus class (blue outline), sometimes not. If it get the focus class, it's never pulled off when you focus on another input.

If you click the control and flip it, you'd assume it would have focus regardless of the class, but the arrows don't change the state like it did in 1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.