Error highlighting and reporting problems for the current password on the user profile form

Created on 19 March 2015, over 9 years ago
Updated 20 January 2023, almost 2 years ago

Problem/Motivation

When changing the e-mail and/or password fields on the user profile form without entering a correct 'current password' the error reporting is off. Multiple similar messages are thrown if both fields are changed and the 'current password' field is not marked as an error.

The problem is also apparent when the inline_form_errrors (IFE) module is enabled.

Original problem identified in #1493324-362: Inline form errors for accessibility and UX β†’ .

Proposed resolution

The 'current password' field should be highlighted because it is actually the problematic field. Also instead of two almost similar message, one single message should be shown, when both e-mail and password are being changed.

In case of IFE all fields need a helpful error message below the fields.

Before screenshot (Core 8.2.x without inline_form_errors module)

After screenshot (Core 8.2.x without inline_form_errors module)

Before screenshot (Core 8.2.x with inline_form_errors module)

After screenshot (Core 8.2.x with inline_form_errors module)

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
User moduleΒ  β†’

Last updated about 16 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States crasx Denver, CO

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • mobile

    Issue related to Drupal on mobile devices.

  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024