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

Fix keyboard navigation when answering drag-and-drop image questions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: 3.9
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide
      1. Create Drag and Drop onto image question type.
      2. Press Tab key to drop zone.
      3. Press Right arrow or Space bar key to select drag item.
      4. Press Tab key to switch to other drop zone.
      5. Press Escape key.
      6. Press Shift Tab key to get back to previous drop zone.
      7. Press Right arrow or Space bar key.
      8. Observe the screen

      Actual: Cannot change the drop zone with other drag item

      Expected: The drop zone will be changed to other drag item

       

      Show
      Create Drag and Drop onto image question type. Press Tab key to drop zone. Press Right arrow or Space bar key to select drag item. Press Tab key to switch to other drop zone. Press Escape key. Press Shift Tab key to get back to previous drop zone. Press Right arrow or Space bar key. Observe the screen Actual : Cannot change the drop zone with other drag item Expected : The drop zone will be changed to other drag item  
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-68802-master

      Description

      Discovered while testing MDL-58645. To replicate the problem:

      1. Tab into a drop zone, hit right arrow or space to choose an item
      2. Tab into the next drop zone and hit escape (not covered in testing, but works in weekly to unset the value)
      3. Shift Tab back into the original zone containing an item and try to use right arrow. This is now stuck and won't respond to keyboard input.

      Given this isn't the case in the recent roll (1afe68f38), it looks like something in MDL-58645.

      We'll probably also need to check other related issues MDL-68113 and MDL-68382 to make sure those question types don't also need a fix.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              HuongNV Huong Nguyen
              Reporter:
              jaked Jake Dallimore
              Peer reviewer:
              Tim Hunt
              Integrator:
              Jake Dallimore
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m