[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:34:50 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:  closed
 Priority:  normal            |   Milestone:  6.7
Component:  Comments          |     Version:  5.3
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility, javascript
------------------------------+----------------------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58981" 58981]:
 {{{
 #!CommitTicketReference repository="" revision="58981"
 Comments: Limit comments shortcut to not execute on links.

 Exclude links from activating the comment submission shortcut.

 [45790] introduced a shortcut to submit comment forms using `Ctrl/Cmd +
 Enter`. This keyboard combination is also the combination for opening a
 link in a new tab, which resulted in submitting the form when using the
 Log Out or Edit Profile links.

 Props greentreefrog, sabernhardt, narenin.
 Fixes #61919.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61919#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list