• hello.how can I make the checkbox togglable with keyboard.when I focus and enter it, it submit the form.but for WordPress theme directory requirement should I have to make it changeable with keyboard?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t fully understand the context of your question. Are you concerned with a checkbox in a form in the frontend or backend? Your description also sounds as if there is a JavaScript event attached to the checkbox that sends the surrounding form. How is this event defined?

    Thread Starter Kazi Mohammad Foysal

    (@kmfoysal06)

    @threadi I am developing a theme that includes a form. When I read the theme submission requirements, I found that I need to make the form, menu, modal, etc., focusable and functional with the keyboard. However, for checkboxes, I can’t make them work with the keyboard without using JavaScript events. Should I use JavaScript to handle checkboxes and change their state with the keyboard, or is it acceptable to leave the checkboxes as they are, not changeable with the keyboard?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CheckBox Toggling With KeyBoard for Accessibility’ is closed to new replies.