Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27843 META: Accessibility compliance for 2.x
  3. MDL-30885

Prevent dataloss when a student changes some answers, then navigates away from the quiz without clicking next.

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.1.8, 2.2.5, 2.3.2
    • Fix Version/s: 2.3.3
    • Component/s: Accessibility, Quiz
    • Labels:
    • Testing Instructions:
      Hide

      Attempt a quiz.

      Change some answers, and navigate.

      If you navigate using part of the quiz UI, which will save the changes (Next button at the bottom, question navigation buttons, Finish attempt link, Start new preview) then you should not see a warning.

      If you navigate using some other link (e.g. nav bar, or nav or settings block) then you should get the warning.

      Show
      Attempt a quiz. Change some answers, and navigate. If you navigate using part of the quiz UI, which will save the changes (Next button at the bottom, question navigation buttons, Finish attempt link, Start new preview) then you should not see a warning. If you navigate using some other link (e.g. nav bar, or nav or settings block) then you should get the warning.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:

      Description

      In the question status window, questions tell users they are "not yet answered" even though an answer has been given. What it actually means is the user hasn't saved their answer yet. Once it is saved, by moving from page to page, then it will say it is answered. This is also the case for the text next to each question where it will also says "not yet answered" until the user moves from page to page.

      There should be some way to explicitly to either save a page, save an individual question, have pages automatically save, or else make the message clearer in the question status area. The biggest problem is screen reader users will read this text and won't necessarily know if they just missed a "save" button somewhere else on the page, which can lead to increased anxiety that they are going to mess something up.

      This is a tricky problem because one potential solution would be to reintroduce the "save" button that was removed in 2.x. I assume that was taken out for usability reasons, which I think I agree with. Here are some other potential solutions.

      1. Provide a save button/link next to each question that saves the question through an AJAX call

      2. Reintroduce some type of "save this page" button/link

      3. Have Moodle automatically save all of the questions on a page every 5 minutes through an AJAX call.

      4. Have some type of explanatory text as the quiz begins that explains that answers are saved as you move from page to page.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Nov/12