Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#62473 closed enhancement (duplicate)

Password Protected Pages - Error Message Not Displayed

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

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 years ago.
Screencast of incorrect password attempts

Change History (3)

#1 @abcd95
2 years ago

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

@abcd95
2 years ago

Screencast of incorrect password attempts

#2 @sabernhardt
2 years ago

  • Keywords password-protection UX removed
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed
  • Version trunk

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.