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

Create generic way for Widgets to focus on something when they close

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7
    • 2.7
    • JavaScript
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-44101-master
    • Hide

      In all supported browsers:

      • Open the login page
      • Click on the [?] button so the help opens
      • Click on the [X] button to close it
        • *Confirm that focus was put back on the [?] button
      • Open it with the keyboard
      • Press [Escape]
        • *Confirm that focus was put back on the [?] button
      • Log in
      • Open a course page and turn editing on
      • Open an Activity chooser
      • Click on the [X] button to close it
        • *Confirm that focus was put back on the 'Add new activity or resource' link
      • Open it with the keyboard
      • Press [Escape]
        • *Confirm that focus was put back on the link
      Show
      In all supported browsers: Open the login page Click on the [?] button so the help opens Click on the [X] button to close it *Confirm that focus was put back on the [?] button Open it with the keyboard Press [Escape] *Confirm that focus was put back on the [?] button Log in Open a course page and turn editing on Open an Activity chooser Click on the [X] button to close it *Confirm that focus was put back on the 'Add new activity or resource' link Open it with the keyboard Press [Escape] *Confirm that focus was put back on the link
    • 13
    • FRONTEND Sprint 10

    Description

      Ideally, when a dialogue is closed, it should focus on the item which opened it, or another appropriate contextual item.

      This is a fairly generic thing to do so we should try and make this easy for everyone by creating a module which any widget can plug into.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Damyon Wiese Damyon Wiese
              Jason Fowler Jason Fowler
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14