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

Add pass/fail colors for grades in Gradebook user report

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test in Classic and Boost

      1. Enrol two students in your course.
      2. As teacher, insert an assignment to your course. (Maximum grade 100. Grade to pass 50.)
      3. Grade a student 30 and the other 70.
      4. Go to gradebook setup.
      5. Select User Report.
      6. Verify when you choose different ones in "Select all or one user" that the grade values are colored, there is a pass or fail icon with either a tick or a cross as well and the fail / pass grade is read by screen reader.
      7. Log in as first student and go to the gradebook.
      8. Verify in User report that the grade value is colored red, as she failed, and there is a pass icon with a cross as well and the fail grade is read by screen reader.
      9. Log in as second student and go to the gradebook.
      10. Verify in User report that the grade value is colored green, as she passed, and there is a pass icon with a tick as well and the pass grade is read by screen reader.

      Show
      Test in Classic and Boost Enrol two students in your course. As teacher, insert an assignment to your course. (Maximum grade 100. Grade to pass 50.) Grade a student 30 and the other 70. Go to gradebook setup. Select User Report. Verify when you choose different ones in "Select all or one user" that the grade values are colored, there is a pass or fail icon with either a tick or a cross as well and the fail / pass grade is read by screen reader. Log in as first student and go to the gradebook. Verify in User report that the grade value is colored red, as she failed, and there is a pass icon with a cross as well and the fail grade is read by screen reader. Log in as second student and go to the gradebook. Verify in User report that the grade value is colored green, as she passed, and there is a pass icon with a tick as well and the pass grade is read by screen reader.
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
      MDL-70874-master_take2

      Description

      A colleague of mine was looking on how to show the grades to students in colors when having a pass grade set.
      It turns out this exists only in the grader report, which a student never sees.
      There would be the possibility of adding the colors to the grade in user report, too.
      (The misleading help text says: "This setting determines the minimum grade required to pass. The value is used in activity and course completion, and in the gradebook, where pass grades are highlighted in green and fail grades in red.").

        Attachments

        1. grader report.png
          grader report.png
          40 kB
        2. MDL-70874_failed.jpg
          MDL-70874_failed.jpg
          48 kB
        3. MDL-70874_helptext.png
          MDL-70874_helptext.png
          72 kB
        4. MDL-70874_student_failed.png
          MDL-70874_student_failed.png
          42 kB
        5. MDL-70874_student_passed.png
          MDL-70874_student_passed.png
          52 kB
        6. MDL-70874_teacher_failed.png
          MDL-70874_teacher_failed.png
          357 kB
        7. MDL-70874_teacher_passed.png
          MDL-70874_teacher_passed.png
          44 kB
        8. MDL-70874.png
          MDL-70874.png
          277 kB
        9. screenshot-1.png
          screenshot-1.png
          17 kB

          Issue Links

            Activity

              People

              Assignee:
              lucaboesch Luca Bösch
              Reporter:
              lucaboesch Luca Bösch
              Peer reviewer:
              Mihail Geshoski Mihail Geshoski
              Integrator:
              Jun Pataleta Jun Pataleta
              Tester:
              Angelia Dela Cruz Angelia Dela Cruz
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Dec/21

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 35 minutes
                  5h 35m