[wp-trac] [WordPress Trac] #30345: Quick edit: form submitted when activating Cancel via keyboard
WordPress Trac
noreply at wordpress.org
Fri Nov 14 23:28:14 UTC 2014
#30345: Quick edit: form submitted when activating Cancel via keyboard
-------------------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Quick/Bulk Edit | Version: 4.0
Severity: normal | Keywords:
Focuses: ui, accessibility, javascript |
-------------------------------------------+-----------------------------
Post listings > any post > Quick Edit
- edit any field (change the title, add a category, whatever)
- focus the "Cancel" link with your keyboard
- press Enter
You would expect to "Cancel" your changes, but you've just saved them
instead.
There's a `keydown` event listening on the whole `td` containing the form
elements, not sure it's a good thing. I can understand this was meant to
speed up editing, however we should exclude at least the "Cancel" link.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30345>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list