CRM-18806 Form validation notifications should not disappear

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.6.17
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding

      Description

      This issue is about the accessibility of the notification self-hiding at all. As well as being a poor UX generally, this is potentially an issue for users experiencing distraction (that's everyone) or of limited vision.

      • Am creating a CiviMail while in Mountain TZ
      • Server is in Pacific/Auckland TZ, so several hours ahead
      • When I try to send, I see screen attached
      • "Send mail" button is disabled, notification says "The selected time is in the past"
      • Notification disappears quickly and leaves no way to show notifications

      IMO form validation failures should never self-hide, since they remove information important to the context of why the form submission will not proceed. (See attached screen - no clue remains why the submit button is disabled.)

      Perhaps auto-hiding notifications was proposed in response to user weariness at seeing too many notifications, but I don't think it's the right choice & hope this example illustrates why I feel that way

      (If anyone can find the ticket where this behaviour was introduced I'd like to read the original proposal.)

        Attachments

          Activity

          [CRM-18806] Form validation notifications should not disappear
          Coleman Watts added a comment -

          Chris Burgess by design, error messages will never automatically hide. If it is doing so, it's a bug.

          Chris Burgess added a comment -

          OK, I'll test it again (I'm still in this TZ a few hours!) and confirm the origin.

          Coleman Watts added a comment - - edited

          Right, looks like it is a warning instead of an error msg so it does auto time-out.
          Seems like displaying it inline (similar to the required tokens mgs) would be better.

          Coleman Watts added a comment -

          Chris Burgess want to submit a fix using Angular's inline form validation instead of CRM.alert?

            People

            • Assignee:
              Unassigned
              Reporter:
              Chris Burgess

              Dates

              • Created:
                Updated: