Closed Bug 686333 Opened 13 years ago Closed 11 years ago

Bugzilla login field should be <input type=email>

Categories

(Bugzilla :: User Interface, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: Atoll, Assigned: LpSolit)

References

Details

Attachments

(1 file)

Every time I try to login to bugzilla on a mobile device, it screws up my email address and autocapitalizes it and corrects spellings and screws it all up.

Please change the input type of our b.m.o login username fields from "text" to "email" so that the mobile users have an easier experience filing mobile bugs from mobile devices.

I understand there may be some sort of big "convert everything to html5" project in development, but this one simple change would be a big help until the rest of the project lands.
moving to upstream as bmo trys to stay in sync and other upstream contributors may want to discuss a more general solution.
Assignee: nobody → ui
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: ui → default-qa
Version: Current → unspecified
We won't do this till we move to HTML5. type="email" doesn't exist in HTML4.
Severity: normal → enhancement
Depends on: bz-html5
OS: Mac OS X → All
Hardware: Other → All
feel free to resolve as dupe of html5 bug, then. was not aware that bugzilla is not permitted to use html5 elements, sorry.
What happens if we just use type="email" with an HTML4 doctype? If it doesn't cause issues in UAs, it's fine with me.
Whiteboard: [Good Intro Bug]
(In reply to Max Kanat-Alexander from comment #4)
> What happens if we just use type="email" with an HTML4 doctype? If it
> doesn't cause issues in UAs, it's fine with me.

All existing UAs seem degrade to <input type="text"> when an unknown input type is specified. I think that behavior goes all the way back to the Very Old Days.
won't this cause problems for sites where email != login?
(In reply to Byron Jones ‹:glob› from comment #6)
> won't this cause problems for sites where email != login?

If Bugzilla has a preference that permits non-email logins, then this form type would need to be hinted by that preference to either text or email, depending.
Attached patch patch, v1Splinter Review
Assignee: ui → LpSolit
Status: NEW → ASSIGNED
Attachment #8357373 - Flags: review?(dkl)
Whiteboard: [Good Intro Bug]
Target Milestone: --- → Bugzilla 5.0
Comment on attachment 8357373 [details] [diff] [review]
patch, v1

Review of attachment 8357373 [details] [diff] [review]:
-----------------------------------------------------------------

This patch seems like a valid solution for my request, and has bonus EOL whitespace cleanups.
Comment on attachment 8357373 [details] [diff] [review]
patch, v1

looks good.
Attachment #8357373 - Flags: review?(dkl) → review+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified template/en/default/account/create.html.tmpl
modified template/en/default/account/auth/login.html.tmpl
modified template/en/default/account/prefs/account.html.tmpl
Committed revision 8868.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Summary: Bugzilla login username field should be <input type=email> → Bugzilla login field should be <input type=email>
I'm not seeing this on BMO. Should I reopen this bug, or clone it to the BMO product?

Found two inputs so far missing the email attribute:

<input id="Bugzilla_login_top" class="bz_login" name="Bugzilla_login" title="Login" placeholder="email address">

<input size="35" id="Bugzilla_login" name="Bugzilla_login">
Blocks: 1113286
We are using LDAP uid as login name for bugzilla and our users can't login now because most browsers check for type="email". I think this needs to be fixed.
(In reply to scholi from comment #14)
> We are using LDAP uid as login name for bugzilla and our users can't login
> now because most browsers check for type="email". I think this needs to be
> fixed.

This is discussed in bug 1164398.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: