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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Component/s: JavaScript
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-44101-master
    • Story Points:
      13
    • Sprint:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/May/14