Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57061

theme_boost: No jump to empty required form input element, when clicking submit

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Go to the form to create a new forum
      2. Do not do anything and scroll down to the submit button
      3. Click "Save and display"
      4. Confirm that:
        • The form wasn't submitted
        • The focus was put on the validation message for the forum name
        • The input field has the attribute aria-invalid set to true
        • The input field has a valid attribute aria-describedby pointing to the error message
        • You can freely tab through the form
      5. Enter something in the name field
      6. Confirm that the error disappears as you tab out of the field
      Show
      Go to the form to create a new forum Do not do anything and scroll down to the submit button Click "Save and display" Confirm that: The form wasn't submitted The focus was put on the validation message for the forum name The input field has the attribute aria-invalid set to true The input field has a valid attribute aria-describedby pointing to the error message You can freely tab through the form Enter something in the name field Confirm that the error disappears as you tab out of the field
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-57061-master

      Description

      Forgetting to enter any (valid) content into a required form input element, and clicking the submit ("Save and return") button at the bottom of the form, does not jump the the relevant missing input field (or the "You must supply a value here" message)

      Experienced while trying to add a new Forum without giving it a name.

      Seems like an accessibility and a usability issue.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16