[wp-trac] [WordPress Trac] #32510: Add HTML5 "required" attributes to the login form

WordPress Trac noreply at wordpress.org
Fri Jun 16 15:40:42 UTC 2023


#32510: Add HTML5 "required" attributes to the login form
----------------------------------------------+----------------------------
 Reporter:  aznadesign                        |       Owner:  joedolson
     Type:  enhancement                       |      Status:  accepted
 Priority:  normal                            |   Milestone:  6.3
Component:  Login and Registration            |     Version:  2.1
 Severity:  normal                            |  Resolution:
 Keywords:  has-patch required-fields commit  |     Focuses:  ui,
                                              |  accessibility
----------------------------------------------+----------------------------
Changes (by joedolson):

 * keywords:  has-patch required-fields => has-patch required-fields commit


Comment:

 While there are arguments against default field validation, right now we
 have no field validation at all. Given that this is a very simple form in
 an extremely standard format, I'm not sure those are a big problem.

 Practically speaking, it's pretty self-evident that these fields are
 required, which is why they've been able to stay this way so far.

 This would add an enforcing note that this is the case, so the error
 handling is not all that important.

 Marking for commit.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32510#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list