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

Add a class indicating the question state to the main question div to give themes more options

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2
    • Fix Version/s: 2.1.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      1. Attempt or review a quiz.
      2. Use firebug to verify that there is now a class like notyetanswered / complete / correct / incorrect / etc on the top level question div. (The one that also has class que.)
      3. As teacher, set a quiz with review option 'Whether correct' turned off. Than, as a student, review the quiz, and make sure the class is complete, and not something that gives away whether you were correct or not.
      4. For as many themes as you can be bothered to check, verify that this new class name does not change the visual appearance.

      Show
      1. Attempt or review a quiz. 2. Use firebug to verify that there is now a class like notyetanswered / complete / correct / incorrect / etc on the top level question div. (The one that also has class que.) 3. As teacher, set a quiz with review option 'Whether correct' turned off. Than, as a student, review the quiz, and make sure the class is complete, and not something that gives away whether you were correct or not. 4. For as many themes as you can be bothered to check, verify that this new class name does not change the visual appearance.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      With question behaviour turned to "immediate feedback", it would be very nice if the "correct answer background color" could change depending on the correctness. E.g. if the answer is correct, the background color should be green, if the answer is partially correct it should be yellow and if the answer is incorrect, it should be red. Especially if "multiple choice" questions are used, you can see instantly what your answer was like. Just like in the navigation box on the left side.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11