This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flipswitch: Transfer tabindex to "on" button and make input unfocusable
The "on" button must be an anchor for it to be focusable just like an input even when it does not have an explicitly set tabindex. Although the input becomes unfocusable, a focus handler that transfers focus to the "on" button is nevertheless attached to it in case third-party code focuses the input manually. Fixes gh-6955
- Loading branch information