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

[FEATURE] Switch toggle from keyboard #39

Closed
4 tasks done
palcarazm opened this issue Jul 17, 2022 · 1 comment · Fixed by #42
Closed
4 tasks done

[FEATURE] Switch toggle from keyboard #39

palcarazm opened this issue Jul 17, 2022 · 1 comment · Fixed by #42
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@palcarazm
Copy link
Owner

palcarazm commented Jul 17, 2022

Is your feature request related to a problem? Please describe.
When filling in a basic HTML form, some users prefer to use only the keyboard, tabbing through the fields and entering values.
Normal checkboxes can be toggled by hitting space when they're in focus.

Describe the solution you'd like

  • Add a key event to toggle elements and if toggle is focused and space bar is pressed, toggle state of toggle element.

Describe alternatives you've considered
😞

Additional context
Original from :

☑️ Task list

  • Develop feature/fix jQuery
  • Develop feature/fix ECMAS
  • Add cypress test coverage
  • Update docs (is needed)
@palcarazm palcarazm added the enhancement New feature or request label Jul 17, 2022
@github-actions
Copy link

Hi! 👋
Thanks for your issue. You are helping to improve Bootstrap 5 toggle.

@palcarazm palcarazm added this to the v4.3.0 milestone Jul 17, 2022
Repository owner deleted a comment from github-actions bot Jul 17, 2022
@palcarazm palcarazm self-assigned this Jul 17, 2022
@palcarazm palcarazm removed their assignment Jul 17, 2022
@palcarazm palcarazm self-assigned this Jul 17, 2022
palcarazm added a commit that referenced this issue Jul 17, 2022
palcarazm added a commit that referenced this issue Jul 17, 2022
palcarazm added a commit that referenced this issue Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant