Last Comment Bug 843068 - When signing up, some users enter their email address in the "Username" field
: When signing up, some users enter their email address in the "Username" field
Status: RESOLVED FIXED
[specification][type:change]
:
Product: Mozilla Developer Network
Classification: Other
Component: General (show other bugs)
: unspecified
: All Other
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-20 07:54 PST by John Karahalis [:openjck]
Modified: 2013-04-18 09:28 PDT (History)
2 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Username input box (164.18 KB, image/png)
2013-02-20 07:55 PST, John Karahalis [:openjck]
no flags Details

Description John Karahalis [:openjck] 2013-02-20 07:54:25 PST
What feature should be changed? Please provide the URL of the feature if possible.
==================================================================================
The "Username" field of the account sign-up page. See comment 1 for a screenshot.

What problems would this solve?
===============================
A significant number of users mistakenly enter their email address here, indicating a usability flaw. This can be seen in bug 843062 and elsewhere.

Who would use this?
===================
Anyone who signs up for an account on MDN.

What would users see?
=====================
Not exactly sure. Maybe some placeholder text in the input box (like "John Smith") would help.

What would users do? What would happen as a result?
===================================================
To call this done, users should be correctly entering usernames in the box more often than they are now. We could even do some A/B testing on this to confirm the change helps.

Is there anything else we should know?
======================================
Comment 1 John Karahalis [:openjck] 2013-02-20 07:55:25 PST
Created attachment 716043 [details]
Username input box
Comment 2 John Karahalis [:openjck] 2013-02-27 14:18:00 PST
Looking through a list of MDN users, it seems way more people do this than I realized. About 10% of users provide their email address as their username.
Comment 3 Eric Shepherd [:sheppy] 2013-03-26 09:25:23 PDT
I suggest we add a placeholder string, but also use HTML5 form validation to reject the "@" character in the username.
Comment 4 John Karahalis [:openjck] 2013-03-26 10:19:42 PDT
Those could help. I would also be interested in discovering the underlying problem here. Most sites do not provide placeholders or reject the @ character, but still do not have this problem.
Comment 5 Eric Shepherd [:sheppy] 2013-03-27 08:40:17 PDT
(In reply to John Karahalis [:openjck] from comment #4)
> Those could help. I would also be interested in discovering the underlying
> problem here. Most sites do not provide placeholders or reject the @
> character, but still do not have this problem.

Well, given that email addresses are frequently used as user identifiers these days, I bet they actually do have this problem. Also, perhaps other sites don't accept long enough strings to allow typical email addresses?

We probably should also add some text under "Username" here, like:

"Please enter the name you'd like to display to other users to identify your contributions."
Comment 6 Jesus Perez 2013-04-11 05:19:51 PDT
Hello. I can take care of this bug if you agree.
Comment 7 John Karahalis [:openjck] 2013-04-12 15:56:10 PDT
Sure, go for it Jesus!
Comment 8 Jesus Perez 2013-04-15 02:38:34 PDT
Pull request: https://github.com/mozilla/kuma/pull/1015

I've done some changes for this:

- I've add the placeholder "john_smith" to "Username" input (I haven't used "John Smith", because this input don't accept spaces).

- I've add the text: "Please enter the name you'd like to display to other users to identify your contributions." under "Username" input.

- I've changed the rule to reject the "@" character in the input and I've deleted the "@" in the error message (now it's "Letters, digits and ./-/_ only.").


Tell me if this is ok for you, or I have to change anything in the pull request :)
Comment 9 Eric Shepherd [:sheppy] 2013-04-15 05:10:21 PDT
(In reply to Jesus Perez from comment #8)
> Pull request: https://github.com/mozilla/kuma/pull/1015
> 
> I've done some changes for this:
> 
> - I've add the placeholder "john_smith" to "Username" input (I haven't used
> "John Smith", because this input don't accept spaces).

I'm inclined to make this just "username" instead; I hesitate to use a gender or culture specific term in this field as the placeholder (although if it's localizable that would alleviate most of that concern). Otherwise, good idea. I'm a big fan of having placeholder text.

> - I've add the text: "Please enter the name you'd like to display to other
> users to identify your contributions." under "Username" input.

Good deal.

> - I've changed the rule to reject the "@" character in the input and I've
> deleted the "@" in the error message (now it's "Letters, digits and ./-/_
> only.").

I like this too.

> Tell me if this is ok for you, or I have to change anything in the pull
> request :)

By and large this sounds good (aside from my first comment), although I'm not the one that will be reviewing the code.
Comment 10 Jesus Perez 2013-04-15 15:54:20 PDT
new pull request https://github.com/mozilla/kuma/pull/1016 (I've messed-up a thing with my other pull request :S)

Now placeholder (and the others strings) are localizables.

Note You need to log in before you can comment on or make changes to this bug.