Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 514061 of User Interface guidelines

  • Revision slug: Mozilla/Persona/User_interface_guidelines
  • Revision title: User Interface guidelines
  • Revision id: 514061
  • Created:
  • Creator: wbamberg
  • Is current revision? No
  • Comment
Tags: 

Revision Content

Presenting sign-in options to users without confusing them can be difficult, especially if your site offers multiple sign-in options. This article aims to provide guidance about the best way to present Persona sign-in to your users. It covers four different possible approaches, depending on the different sign-in options the website supports:

  • only Persona
  • Persona + "traditional sign-in" (that is, sign in with a username and password stored on the site)
  • Persona + one or more other federated sign-in options such as Facebook Connect
  • Persona + "traditional sign-in" + one or more other federated sign-in options

In each approach there are three user interface elements to consider:

  • the Sign in/Sign up link, displayed on pages when the user is not signed in
  • the Sign up view: the interface that appears when the user clicks "Sign up"
  • the Sign in view: the interface that appears when the user clicks "Sign in"

None of the recommendations here are mandatory.

Persona only

If Persona is the only sign-in option presented to users, this offers the least confusing user experience, because the user has fewer choices to make.

You can show just the text "Sign up/Sign in". It's recommended that you also include the Persona icon, as this helps users know what to expect when they click the link:

Sign up view

You don't need to implement the sign up view at all, as Persona takes care of it for you.

Sign in view

Similarly, you don't need to implement the Sign in view, as Persona takes care of it.

Persona + traditional sign-in

In this case you support Persona alongside traditional sign-in, where you ask users for a username and password which you then store yourself.

Sign up/Sign in link

You can just show the text "Sign up/Sign in", with separate links for each choice:

Sign up view

When a user clicks "Sign up" you'll need to offer them the choice to sign up using Persona or to create a new username and password on your site. In this case it's recommended that the button for the Persona option includes the Persona icon and is labeled "Email" rather than "Persona". Users don't know what "Persona" means and won't see this as a valid sign-up option:

Sign in view

When the user clicks "Sign in" you'll offer them the choice to sign in with Persona or the account they created on your site. This can be just like the "Sign in view", except you won't include the password confirmation field:

Persona + federated sign-in

In this case you support Persona alongside one or more other federated sign-in options suh as Facebook Connect or Google+.

Sign up/Sign in link

You can just show the text "Sign up/Sign in", with separate links for each choice:

Sign up view

When a user clicks "Sign up" you'll need to offer them the choice to sign up using Persona or to sign up using one of the other federated identity options. In this case it's recommended that the button for the Persona option includes the Persona icon and is labeled "Email" rather than "Persona". Users don't know what "Persona" means and won't see this as a valid sign-up option:

Sign in view

When the user clicks "Sign in" you'll offer them the choice to sign in with Persona or the account they created on your site. This can be just like the "Sign in view":

More Info

You can find more information about Persona's visual design in Sean Martell's style primer.

Revision Source

<p>Presenting sign-in options to users without confusing them can be difficult, especially if your site offers multiple sign-in options. This article aims to provide guidance about the best way to present Persona sign-in to your users. It covers four different possible approaches, depending on the different sign-in options the website supports:</p>
<ul>
 <li><a href="#persona-only">only Persona</a></li>
 <li>Persona + "traditional sign-in" (that is, sign in with a username and password stored on the site)</li>
 <li>Persona + one or more other federated sign-in options such as Facebook Connect</li>
 <li>Persona + "traditional sign-in" + one or more other federated sign-in options</li>
</ul>
<p>In each approach there are three user interface elements to consider:</p>
<ul>
 <li>the Sign in/Sign up link, displayed on pages when the user is not signed in</li>
 <li>the Sign up view: the interface that appears when the user clicks "Sign up"</li>
 <li>the Sign in view: the interface that appears when the user clicks "Sign in"</li>
</ul>
<p>None of the recommendations here are mandatory.</p>
<h2 id="Persona_only"><a name="persona-only">Persona only</a></h2>
<p>If Persona is the only sign-in option presented to users, this offers the least confusing user experience, because the user has fewer choices to make.</p>
<h3 id="Sign_up.2FSign_in_link">Sign up/Sign in link</h3>
<p>You can show just the text "Sign up/Sign in". It's recommended that you also include the Persona icon, as this helps users know what to expect when they click the link:<br />
 <br />
 <img alt="" src="https://mdn.mozillademos.org/files/6773/persona-only-signin-link.png" style="width: 323px; height: 132px; display: block; margin-left: auto; margin-right: auto;" /></p>
<h3>Sign up view</h3>
<p>You don't need to implement the sign up view at all, as Persona takes care of it for you.</p>
<h3 id="Sign_in_view">Sign in view</h3>
<p>Similarly, you don't need to implement the Sign in view, as Persona takes care of it.</p>
<h2 id="Persona_.2B_traditional_sign-in">Persona + traditional sign-in</h2>
<p>In this case you support Persona alongside traditional sign-in, where you ask users for a username and password which you then store yourself.</p>
<h3>Sign up/Sign in link</h3>
<p>You can just show the text "Sign up/Sign in", with separate links for each choice:<img alt="" src="https://mdn.mozillademos.org/files/6775/persona-plus-signin-link.png" style="width: 296px; height: 142px; display: block; margin-left: auto; margin-right: auto;" /></p>
<h3>Sign up view</h3>
<p>When a user clicks "Sign up" you'll need to offer them the choice to sign up using Persona or to create a new username and password on your site. In this case it's recommended that the button for the Persona option includes the Persona icon and is labeled "Email" rather than "Persona". Users don't know what "Persona" means and won't see this as a valid sign-up option:</p>
<p><img alt="" src="https://mdn.mozillademos.org/files/6777/persona-plus-trad-signup.png" style="width: 274px; height: 387px; display: block; margin-left: auto; margin-right: auto;" /></p>
<h3>Sign in view</h3>
<p>When the user clicks "Sign in" you'll offer them the choice to sign in with Persona or the account they created on your site. This can be just like the "Sign in view", except you won't include the password confirmation field:</p>
<p><img alt="" src="https://mdn.mozillademos.org/files/6779/persona-plus-trad-signin.png" style="width: 273px; height: 349px; display: block; margin-left: auto; margin-right: auto;" /></p>
<h2>Persona + federated sign-in</h2>
<p>In this case you support Persona alongside one or more other federated sign-in options suh as Facebook Connect or Google+.</p>
<h3>Sign up/Sign in link</h3>
<p>You can just show the text "Sign up/Sign in", with separate links for each choice:<img alt="" src="https://mdn.mozillademos.org/files/6775/persona-plus-signin-link.png" style="width: 296px; height: 142px; display: block; margin-left: auto; margin-right: auto;" /></p>
<h3>Sign up view</h3>
<p>When a user clicks "Sign up" you'll need to offer them the choice to sign up using Persona or to sign up using one of the other federated identity options. In this case it's recommended that the button for the Persona option includes the Persona icon and is labeled "Email" rather than "Persona". Users don't know what "Persona" means and won't see this as a valid sign-up option:</p>
<p><img alt="" src="https://mdn.mozillademos.org/files/6783/persona-plus-fed-signup.png" style="width: 275px; height: 185px; display: block; margin-left: auto; margin-right: auto;" /></p>
<h3>Sign in view</h3>
<p>When the user clicks "Sign in" you'll offer them the choice to sign in with Persona or the account they created on your site. This can be just like the "Sign in view":</p>
<p><img alt="" src="https://mdn.mozillademos.org/files/6785/persona-plus-fed-signin.png" style="width: 275px; height: 187px; display: block; margin-left: auto; margin-right: auto;" /></p>
<h2 id="More_Info">More Info</h2>
<p>You can find more information about Persona's visual design in <a href="https://people.mozilla.org/~smartell/persona/" title="https://people.mozilla.org/~smartell/persona/">Sean Martell's style primer</a>.</p>
Revert to this revision