[wp-trac] [WordPress Trac] #32510: Add HTML5 "required" attributes to the login form
WordPress Trac
noreply at wordpress.org
Sun Mar 25 19:12:02 UTC 2018
#32510: Add HTML5 "required" attributes to the login form
---------------------------------------+--------------------------------
Reporter: aznadesign | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Login and Registration | Version: 2.1
Severity: normal | Resolution:
Keywords: has-patch required-fields | Focuses: ui, accessibility
---------------------------------------+--------------------------------
Changes (by alexstine):
* keywords: has-patch needs-refresh required-fields => has-patch required-
fields
Comment:
My patch adds required attribute to all fields. I suggest not adding
type="email" right now as that would force HTML to validate the field for
email address only and a username could not be used. The only way around
this would be to add novalidate to the <form> tag which defeats the
purpose of HTML5 validation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32510#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list