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

Deprecate M.util.focus_login_form M.util.focus_login_error

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2, 3.3
    • Fix Version/s: 3.3
    • Component/s: JavaScript
    • Labels:
    • Testing Instructions:
      Hide

      Repeat in clean and boost.

      1. Enable autofocus login form option
      2. Go to the login page
      3. VERIFY: that focus is on the username field and you can type straight away
      4. Enter an incorrect password
      5. VERIFY: the username field is not focused and login is focused (This is browser dependent, you want to verify the behaviour is the same as before. I used safari with voiceover and ensure error got focused)

      If MDL-57357 is fixed..

      1. Ensure that focus is put on password field rather than username field when the username has text in it
      Show
      Repeat in clean and boost. Enable autofocus login form option Go to the login page VERIFY: that focus is on the username field and you can type straight away Enter an incorrect password VERIFY: the username field is not focused and login is focused (This is browser dependent, you want to verify the behaviour is the same as before. I used safari with voiceover and ensure error got focused) If MDL-57357 is fixed.. Ensure that focus is put on password field rather than username field when the username has text in it
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-57488-master

      Description

      M.util.focus_login_form and M.util.focus_login_error are in javascript-static for every page.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/17