[wp-trac] [WordPress Trac] #60062: Add required attribute to username and password field in wp_login_form function.
WordPress Trac
noreply at wordpress.org
Tue Mar 12 15:35:58 UTC 2024
#60062: Add required attribute to username and password field in wp_login_form
function.
-------------------------------------+-------------------------------------
Reporter: alesflex | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 3.0
Severity: normal | Resolution:
Keywords: required-fields needs- | Focuses: accessibility,
patch | template
-------------------------------------+-------------------------------------
Changes (by joedolson):
* keywords: required-fields => required-fields needs-patch
* version: => 3.0
* type: enhancement => defect (bug)
Comment:
There could be some side-effects to adding this for tools like social sign
in, single sign on, etc., but it's worth exploring.
At a minimum, it should be possible to pass the required attribute to the
function in the arguments array, even if they aren't added by default.
This will need some testing with extensions that include login mechanisms,
particularly those that have any kind of custom bypass or handling.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60062#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list