Opened 7 months ago

Last modified 7 months ago

#22183 new enhancement

Input type="email"

Reported by: johnbillion Owned by:
Priority: normal Milestone: Future Release
Component: Administration Version:
Severity: normal Keywords: has-patch
Cc: info@…

Description

Text inputs for email addresses were replaced with email inputs in [20168] but reverted in [20196] due to poor client-side validation by Chrome 17 and Firefox 10, however we've had input type="email" on the registration form since [18763].

We should:

  1. Test the current state of client-side validation.
  2. Either introduce email inputs in the admin area or revert [18763] depending on the results of point 1.

See http://core.trac.wordpress.org/ticket/17863#comment:25 for the email input validation issue.

Attachments (2)

22183.diff (666 bytes) - added by lessbloat 7 months ago.
Changes email to text on wp-login.php (in case we don't go with the novalidate route)
22183b.diff (6.6 KB) - added by lessbloat 7 months ago.
novalidate option using email instead of text (needs testing)

Download all attachments as: .zip

Change History (7)

  • Cc info@… added
  • Milestone changed from Awaiting Review to 3.5

I went through all of wp-admin. That wp-login.php was not reverted was indeed a mistake.

Setting the forms to novalidate should be sufficient, if that remains a concern. Context-sensitive mobile keyboards is, in my opinion, more important than validation.

Changes email to text on wp-login.php (in case we don't go with the novalidate route)

novalidate option using email instead of text (needs testing)

  • Keywords has-patch added

In 22413:

Revert type="email" on the registration form to avoid validation issues. see #22183.

  • Milestone changed from 3.5 to Future Release

Let's try to bring these back (sans validation) in a future release.

Note: See TracTickets for help on using tickets.