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

WordPress Trac noreply at wordpress.org
Wed Apr 26 23:49:48 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  |     Focuses:  ui, accessibility
---------------------------------------+--------------------------------

Comment (by sabernhardt):

 Thanks for refreshing the patch!

 Additional research to consider:
 - https://adrianroselli.com/2019/02/avoid-default-field-validation.html
 - https://www.tpgi.com/required-attribute-requirements/

 [https://bugzilla.mozilla.org/show_bug.cgi?id=1766299 Firefox still
 announces "invalid entry"] before having the chance to type anything in
 the field, even when adding `aria-invalid="false"` (Firefox 112, Windows
 10, NVDA 2023.1).

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


More information about the wp-trac mailing list