Skip to content

Fix checkbox enter key activation#1

Draft
tmrr13 wants to merge 1 commit intomasterfrom
cursor/fix-checkbox-enter-key-activation-1e06
Draft

Fix checkbox enter key activation#1
tmrr13 wants to merge 1 commit intomasterfrom
cursor/fix-checkbox-enter-key-activation-1e06

Conversation

@tmrr13
Copy link
Copy Markdown
Owner

@tmrr13 tmrr13 commented Sep 23, 2025

Fix checkbox not activating with Enter/Space keys by moving keyboard event handlers to the input element.

The original implementation placed keyboard event listeners on the <label> element, but when a user tabs to a checkbox, the focus is typically on the <input> element. This prevented the checkbox from responding to Enter or Space key presses, impacting keyboard accessibility. Moving these handlers directly to the <input> resolves this issue.


Open in Cursor Open in Web

Co-authored-by: goodslyfox <goodslyfox@gmail.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Sep 23, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants