[wp-trac] [WordPress Trac] #43037: Login error message "Invalid username. Lost your password?" is confusing

WordPress Trac noreply at wordpress.org
Tue Sep 24 10:17:29 UTC 2019


#43037: Login error message "Invalid username. Lost your password?" is confusing
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.3
Component:  Login and Registration               |     Version:  2.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch has-copy-  |     Focuses:  ui,
  review 2nd-opinion                             |  accessibility
-------------------------------------------------+-------------------------

Comment (by ryokuhi):

 I wrote the patch and added the screenshots of the login page when new
 error messages are displayed.

 In my opinion, there are some inconsistences in capitalization that should
 be solved before committing. The whole form uses title capitalization
 style, while the error messages use sentence capitalization style. There
 are two ways to solve this issue:
 * capitalize Username and Email Address in the error message (quick fix);
 * switch to sentence capitalization style in the form (needs a bit more
 time).
 I tend to think that title capitalization style is more difficult to read,
 so I'm more inclined towards changing the form instead. Checking for other
 tickets about capitalitazion, I found #47298 (already closed and included
 in 5.3 Beta 1) where, in a similar situation, it's stated that sentence
 case is more favorable in general. Maybe a discussion about capitalization
 style across the entire WordPress interface should be started in a new
 ticket.

 As a side note about capitalitazion and the login form, I think that
 writing ERROR in all caps isn't particularly user friendly. Since Error is
 already included in a {{{strong}}} tag, capitalizing the first letter may
 be enough. As there are different ways to show error messages across the
 WordPress interface, reviewing and uniforming them might also be worth of
 a new ticket.

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


More information about the wp-trac mailing list