[wp-trac] [WordPress Trac] #61919: Ctrl + Enter with focus on "Edit your profile" within the comment form tries to submit form
WordPress Trac
noreply at wordpress.org
Tue Sep 3 20:21:13 UTC 2024
#61919: Ctrl + Enter with focus on "Edit your profile" within the comment form
tries to submit form
------------------------------+----------------------------------------
Reporter: greentreefrog | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.7
Component: Comments | Version: 5.3
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: accessibility, javascript
------------------------------+----------------------------------------
Changes (by joedolson):
* keywords: has-patch needs-testing => has-patch commit
* owner: (none) => joedolson
* status: new => accepted
Comment:
Tested:
Before patch: Ctrl/Cmd + Enter on links within form simultaneously open
the link in a new tab and submit the form. (In my testing, this did not
override the behavior, but actually did both.)
After patch: Ctrl/Cmd + Enter on links within the form opens the link in a
new tab without submitting the form.
In both cases, Ctrl/Cmd + Enter submits the form as expected when on an
input field.
Marking for commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61919#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list