Password Strength Meter

Overview

While a user types a new password, the strength meter under the field rates it as Very weak, Weak, Medium or Strong, and says what would make it harder to guess, such as “Add another word or two. Uncommon words are better.” When the policy that covers the account enables the Minimum Password Strength rule, the meter also shows the level required and whether the password reaches it.

The meter takes the place of the strength meter WordPress shows on the same screens. It uses the same labels and the same method, and it rates the password as the server does when the form is submitted, so a password the meter shows as reaching the required level is not rejected for its strength. The one exception is a form that creates an account, where the first or last name contains HTML markup with attributes, such as a link: there the meter can rate the password a little differently, and the rating the server gives is the one that counts. The password is rated in the browser and is not sent anywhere while the user types.

Turning the Meter On or Off

The meter is on by default. To change that:

  1. Navigate to Settings → Login Security.
  2. Open the Checks tab and choose Strength meter in its menu.
  3. Turn Show the password strength meter on or off.
  4. Click Save.

The setting only controls what users see. With the meter off, WordPress’s own screens show the WordPress strength meter as they do without the plugin, and the minimum password strength rule is still enforced when a password is submitted.

Where the Meter Is Shown

The meter appears only on fields that set a new password. It never appears on a sign-in form, or on the Current Password field that the Require Current Password rule adds.

In both the free and the PRO versions:

  • Your own profile (Users → Profile), rated for your account.
  • Another user’s profile (Users → All Users → _edit a user_), rated for the account being edited.
  • The Add New User screen (Users → Add New), on single sites. The username, email address, first name and last name typed in the form count against the password as they are typed. (PRO) With role-targeted policies, the required level follows the Role dropdown.
  • The password reset form (wp-login.php?action=rp), rated for the account being reset.

The WordPress registration form collects no password, so it has no meter.

In the PRO version, the meter also appears on the new password fields of the supported plugins, in place of their own meters:

  • WooCommerce: registration, account details, password reset and checkout. See WooCommerce Integration.
  • Ultimate Member: registration, account and password reset forms, on its own pages or on any other page they are placed on. See Ultimate Member Integration.
  • LearnPress: the registration and password change forms on the profile page, the registration form on any other page it is placed on, and the account form at checkout. See LMS Integrations.
  • LifterLMS: the account page and checkout, and the registration form on any other page it is placed on. See LMS Integrations.
  • Tutor LMS: student and instructor registration, and the password change form in the dashboard. See LMS Integrations.
  • Sensei LMS: the registration form, on the My Courses page or on any other page it is placed on. See LMS Integrations.
  • BuddyPress: registration and Settings → General. See BuddyPress Integration.
  • bbPress: the front-end profile edit page. See bbPress Integration.

On a form without a meter, the minimum password strength rule still applies. A password below the minimum is rejected when the form is submitted, with a message saying what to change.

Confirming a Weak Password

When the policy that covers the account sets no minimum strength, the meter keeps the WordPress check for weak passwords on the WordPress screens listed above: on a password rated Very weak or Weak, the WordPress Confirm use of weak password checkbox appears, and the form cannot be submitted until it is checked. That is the same set of passwords WordPress asks about without the plugin.

The BuddyPress and bbPress profile forms are built from the same WordPress markup and show the same checkbox. Whether it stops the form from being submitted there is the same as without the plugin, which on bbPress means it does not. The forms of the other supported plugins have no such checkbox.

When the policy sets a minimum strength, the checkbox does not appear. A password below the minimum is rejected by the server instead, and one that reaches it needs no confirmation, even when the minimum is Weak.

When the Strength Cannot Be Checked

The meter loads the word lists it needs from the plugin when the page opens, and shows no rating until they have loaded. On the WordPress forms that ask you to confirm a weak password, and while no minimum strength is set, the form’s submit button stays disabled until then. If they cannot be loaded within 30 seconds, the meter says that the strength of the password cannot be checked right now. While no minimum strength is set, the weak password confirmation then appears, as it does for a weak password. The server’s check does not depend on the browser, see Minimum Password Strength.

Accessibility

The level is shown both as filled segments and as text, never by color alone, and the meter works in high-contrast modes. Screen readers announce the rating, the requirement and the suggestions once the user pauses typing, and the password field is described by the same text.