Closed Bug 843068 Opened 11 years ago Closed 11 years ago

When signing up, some users enter their email address in the "Username" field

Categories

(developer.mozilla.org Graveyard :: General, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: openjck, Unassigned)

Details

(Whiteboard: [specification][type:change])

Attachments

(1 file)

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?
======================================
Attached image Username input box
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.
I suggest we add a placeholder string, but also use HTML5 form validation to reject the "@" character in the username.
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.
(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."
Hello. I can take care of this bug if you agree.
Sure, go for it Jesus!
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 :)
(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.
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.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: