Picto thématique

Rule n° 74 - The characters entered in a password field can be displayed in an un-encrypted text.

When entering your passwords, you are use to entering them in dedicated fields, where each character entered is replaced by a dot or a star. This is good, as it avoids consultation over your shoulder. But very often, especially for long passwords or in mobile contexts, this can be annoying. Therefore, why not give users the possibility to display their passwords at their request, when they need them and when they consider that this does not present a confidentiality risk.

#Forms #Development

Goal

  • Simplify password entry, especially on mobile devices’ virtual keyboards.
  • Prevent mistakes.

Implementation

Display a button associated with a script that toggles the value of the type attribute of the entry field between the values password and text.

Control

Manually control the possibility of displaying the password in plain text via a mechanism in the page.

By Opquast - Read the license