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

Deprecate M.util.focus_login_form M.util.focus_login_error

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2, 3.3
    • 3.3
    • JavaScript
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • MDL-57488-master
    • 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

    Description

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

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              poltawski Dan Poltawski
              Ryan Wyllie Ryan Wyllie
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Jake Dallimore Jake Dallimore
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/May/17