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

    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-57061-master
    • 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

    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

        Issue Links

          Activity

            People

              fred Frédéric Massart
              nadavkav Nadav Kavalerchik
              Jake Dallimore Jake Dallimore
              Dan Poltawski Dan Poltawski
              Mark Nelson Mark Nelson
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/16