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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9
    • 3.9
    • Questions
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68802-master
    • 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  

    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

              HuongNV Huong Nguyen
              jaked Jake Dallimore
              Tim Hunt Tim Hunt
              Jake Dallimore Jake Dallimore
              Janelle Barcega Janelle Barcega
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

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