[wp-trac] [WordPress Trac] #62473: Password Protected Pages - Error Message Not Displayed

WordPress Trac noreply at wordpress.org
Tue Nov 19 06:27:53 UTC 2024


#62473: Password Protected Pages - Error Message Not Displayed
-------------------------------+-----------------------------
 Reporter:  abcd95             |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  General            |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:  ui, accessibility  |
-------------------------------+-----------------------------
 **Summary:**
 Password-protected pages do not display validation error messages when an
 incorrect password is entered.

 **Description:**
 When users enter an incorrect password for a password-protected page/post,
 no error feedback is provided to indicate the password attempt failed.
 This creates a poor user experience as users don't know if their password
 attempt was unsuccessful.

 **Steps to Reproduce:**
 1. Create a new page/post
 2. Enable password protection and set a password
 3. View the page on frontend
 4. Enter an incorrect password
 5. Submit the form

 **Current Behavior:**
 - Form simply reloads
 - No error message is displayed
 - No indication that the password was incorrect

 **Expected Behavior:**
 - Clear error message should be displayed when an incorrect password is
 entered
 - Error message should follow WordPress accessibility patterns
 - User should understand their password attempt failed

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62473>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list