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

Import collapse plugin from prototype.moodle.net

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Update the Atto toolbar configuration so that collapse is the first button
      2. Load an Atto editor and verify that by default, there are only 2 button groups visible, and clicking on the show/hide advanced buttons button toggles the visibility of the extra groups.
      3. Visibility should be toggled for screenreaders also (visibility attribute).
      4. The title of the button should change to indicate if it is hiding or showing buttons (Show more buttons / Show less buttons).
      5. Show all buttons, then using the keyboard focus on the last button.
      6. Click the button to collapse the toolbar, verify the focus moves to the collapse button.
      7. Verify you cannot navigate to the hidden buttons with the keyboard.
      Show
      Update the Atto toolbar configuration so that collapse is the first button Load an Atto editor and verify that by default, there are only 2 button groups visible, and clicking on the show/hide advanced buttons button toggles the visibility of the extra groups. Visibility should be toggled for screenreaders also (visibility attribute). The title of the button should change to indicate if it is hiding or showing buttons (Show more buttons / Show less buttons). Show all buttons, then using the keyboard focus on the last button. Click the button to collapse the toolbar, verify the focus moves to the collapse button. Verify you cannot navigate to the hidden buttons with the keyboard.
    • Affected Branches:
      MOODLE_27_STABLE
    • Story Points:
      2
    • Sprint:
      FRONTEND Sprint 9

      Description

      The code for the collapse plugin was only done for the prototype.moodle.net site - get and check the code for it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                damyon Damyon Wiese
                Reporter:
                damyon Damyon Wiese
                Peer reviewer:
                Frédéric Massart
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: