#1521 closed defect (bug) (fixed)
Tabbing through a Trac ticket before submitting a comment results in it being closed with no resolution
Reported by: | johnbillion | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | has-patch commit |
Cc: |
Description
I thought there was a ticket for this already, but I couldn't find it.
Tabbing through the form inputs on a Trac ticket results in the focus passing through the action_dupe
text input. When this input gets focus, the "mark as duplicate of #" radio button gets automatically checked. When the form is submitted, the ticket gets closed but without a resolution because no duplicate ticket number is entered.
This means it's impossible to use the keyboard only to submit a comment on Trac without closing it.
Note that @arush just experienced this on #WP35479.
Attachments (1)
Change History (4)
#2
@
9 years ago
- Keywords has-patch commit added; needs-patch removed
Trac has some JS code to handle this, but it's overridden by some of our own code.
meta-1521.patch fixes this by hiding action text inputs from keyboard, unless the corresponding action is focused. It also allows for select inputs to be clicked directly as well (in addition to text inputs).
Actually, it's not impossible to leave a comment without closing it, but it's difficult.