[wp-trac] [WordPress Trac] #64569: Password protected content: password form styling and UX improvements
WordPress Trac
noreply at wordpress.org
Thu Feb 12 16:13:18 UTC 2026
#64569: Password protected content: password form styling and UX improvements
-------------------------+--------------------------------
Reporter: Nyiriland | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: close | Focuses: ui, accessibility
-------------------------+--------------------------------
Comment (by Nyiriland):
Apologies for not attaching visual documentation previously (was a hurried
submission).
> I'm a bit curious about the suggestion that this form only inherits
browser styling and *doesn't* inherit theme styling; that would be very
unusual. Do you have an example of this?
In regards to the form styling, I'm specifically saying the password form
doesn't inherit the theme's global styles. Mainly, the submit button:
[[Image(form-password.png)]]
You can also see that in the markup above, the password input element is
nested within the label element, which while technically valid, doesn't
match the input/label markup pattern of the default comment form:
[[Image(form-comment.png)]]
At the least, I think changing the markup to inherit the theme's global
block button styles could be a welcome improvement:
[[Image(form-suggestion.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64569#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list