Make WordPress Core

Opened 2 months ago

Closed 2 months ago

#62473 closed enhancement (duplicate)

Password Protected Pages - Error Message Not Displayed

Reported by: abcd95's profile abcd95 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: accessibility Cc:

Description

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

Attachments (1)

password-message-demo.mov (2.7 MB) - added by abcd95 2 months ago.
Screencast of incorrect password attempts

Change History (3)

#1 @abcd95
2 months ago

  • Component changed from General to Posts, Post Types
  • Focuses ui removed
  • Keywords password-protection UX added

@abcd95
2 months ago

Screencast of incorrect password attempts

#2 @sabernhardt
2 months ago

  • Keywords password-protection UX removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version trunk deleted

Hi and thanks for the report!

We are already tracking this on #37332 if you would like to join the discussion there.

Note: See TracTickets for help on using tickets.