[wp-trac] [WordPress Trac] #64569: Password protected content: password form styling and UX improvements
WordPress Trac
noreply at wordpress.org
Tue Mar 17 20:11:02 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: Themes | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui, accessibility
-------------------------+--------------------------------
Comment (by sabernhardt):
Related issues on the Gutenberg repository:
1. [https://github.com/WordPress/gutenberg/issues/61353 Add 'wp-element-
button' class to the submit input]
2. [https://github.com/WordPress/gutenberg/issues/70432 Create a template
for password protected pages]
3. [https://github.com/WordPress/gutenberg/issues/70433 Create a block for
the post password form]
Adding the `.wp-element-button` class if `wp_is_block_theme()` seems to be
a simple way to bring theme styles to one element of the form. If the
`theme.json` also includes styles for `textInput` elements (support added
in 6.9), those should apply to the password field.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64569#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list