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

Too easy to accidentally change your answer to a multiple-choice questions

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-72064-master
    • Hide

      Setup

      • Create a quiz that has a multi-choice question. The question with choices:
        • For choice 1 add an image.
        • For choice 2 add a paragraph of text at least long enough to line-wrap.
        • For choice 3 add a single audio file, displayed using Moodle media filter.
        • For choice 4 add a single word.
        • For choice 5 add a video.
        • For choice 6 add a passage of text with some images (or other media) in the middle of the sentence.

      Testing scenario

      1. Login as student.
      2. Attempt the quiz.
      3. Select one choice.
      4. Click far over on the right of the choices, which looks like a safe empty area, and check the select for the choices aren't changed.
      5. Click over the content of any of the choices and verify it's checked.
      Show
      Setup Create a quiz that has a multi-choice question. The question with choices: For choice 1 add an image. For choice 2 add a paragraph of text at least long enough to line-wrap. For choice 3 add a single audio file, displayed using Moodle media filter. For choice 4 add a single word. For choice 5 add a video. For choice 6 add a passage of text with some images (or other media) in the middle of the sentence. Testing scenario Login as student. Attempt the quiz. Select one choice. Click far over on the right of the choices, which looks like a safe empty area, and check the select for the choices aren't changed. Click over the content of any of the choices and verify  it's checked.

      It seems that our 'fun' with the layout of multiple choice questions never ends.

      Steps to reproduce (particularly on a touch-screen):

      1. Go to https://qa.moodledemo.net/mod/quiz/view.php?id=30 (or other quiz with multiple choices questions).
      2. Select one a choice.
      3. Click far over on the right of the page, which looks like a safe blank area (this click might happen by accident if you are trying to scroll on a touch-screen).
      4. Submit the quiz.

      Apparent result: Moodle has saved a choice which is not the one you selected. (Of course, what really happened was your accidental click selected another choice.)

      Expected result: While clicking on the choice label should select the choice, clicking on an empty bit of the page a long way from the choices should not change the selection. (Or we need to otherwise change the styling, to make the area that represents the choice clear.

      basbrands, do you have bandwidth to think about this.

        1. MDL-68963-1.gif
          MDL-68963-1.gif
          18.83 MB
        2. MDL-70374-error.png
          MDL-70374-error.png
          63 kB
        3. MDL-72064_master.mp4
          1.85 MB
        4. MDL-72064_v3.10.mp4
          1.39 MB
        5. MDL-72064_v3.11.mp4
          1.14 MB
        6. MDLQA-15458-changes-moodle-dot-css-files.patch
          0.8 kB

            jbthong Thong Bui
            timhunt Tim Hunt
            Mahmoud Kassaei Mahmoud Kassaei
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.