Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21961

Add task / Script task : Input error is not described in text.

XMLWordPrintable

      Issue Summary

      Input validation failures are not described in text or a text alternative.

      Elements name: Error messages for required fields
      Ex: Task description edit field

      Location of the element: Edit field, under the "Script configuration" heading section, in the main content.

      Steps to Reproduce

      1. Open the home page
      2. Navigate to the "Deploy" link and activate it.
      3. Navigate to the "All deployment projects" link and activate it.
      4. Navigate to the deployment project link and activate it.
      5. Navigate to the "Edit Environment" link and activate it.
      6. Navigate to the "Set up task" link and activate it.
      7. Navigate and click on the "Add task" link.
      8. Then the "Task types" modal will display. Navigate to the "Script" link and activate it.
      9. Do not enter any description in the "Task Description" form field and click on the "Save" button.
      10. Then the keyboard focus is moving into the "Task Description" form field. But there is no error messages.

      Actual Results

      When the "Script Configuration" form is submitted with errors, textual error messages are not provided for the error message and also there is no visual indication of the error message. Additionally, Missing visual instructions for mandatory fields 

      Expected Results

      1. When the form is submitted with errors along with color, display a list of error messages at the top of the form. Error messages must clearly describe the problem that has occurred and includes suggestions (wherever possible) on how to rectify it.
      2. Add "aria-describedby" attribute to the form field.
      3. Reference the id attribute value of the container used to display the error text as the value for aria-describedby attribute.
      4. Set focus on the first field with an error using the JavaScript .focus() method as soon as the form is submitted.
      5. Ensure that the instruction "* Required" is visible on the page for mandatory fields.

      Screen Recording

      Workaround

      Not Available

      Bug Ref: 459530

              a1c8fa23f643 Andrey Ivanov (Inactive)
              12b69dcabe29 Matthew Brennan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: