[wp-trac] [WordPress Trac] #29974: Focus handle at wrong place when you click reply

WordPress Trac noreply at wordpress.org
Fri Sep 25 21:46:50 UTC 2015


#29974: Focus handle at wrong place when you click reply
-----------------------------+----------------------------------------
 Reporter:  nhuja            |       Owner:  jorbin
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  4.4
Component:  Comments         |     Version:  2.7
 Severity:  normal           |  Resolution:
 Keywords:  has-patch early  |     Focuses:  accessibility, javascript
-----------------------------+----------------------------------------

Comment (by mindctrl):

 > I'm sympathetic to this, but why would that be done blindly? That's a
 very fragile thing to be doing when it's not your mark up. If we're not
 providing specific enough mark up for styling, we should take a look at
 that for sure.

 Understandable, but the field order has been the same for a long time, I
 think? It's safe to assume people do all sorts of crazy things.
 Highlighting a particular field, running a script to detect valid URLs,
 whatever. I agree that it's a fragile thing to do. Just want to be sure
 this is the right thing.

 > It's different when you're logged in and when you're not. We could make
 it different for each, but there's a lot to be said for consistency and
 putting what's typically the most important entry field first.

 I can see that too. I think it's reasonable to expect that if I'm logged
 into a site, I won't have to enter my name, email, and website. Many/most
 sites have different experiences based on logged in status. If consistency
 is the concern, we're not being consistent with years of history, or
 consistent with the placement of the textarea in relation to the submit
 button. If I'm logged in, I get a textarea > submit. If I'm logged out, I
 get textarea > input > input > input > submit.

 The only consistent thing in my mind that is the least likely to break
 things is to keep the order as it's been for years and just change the
 focus. Unless I'm missing something, and I very well could be since
 comments are my least favorite thing to deal with. :)

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


More information about the wp-trac mailing list