|
|
|
[
Permlink
| « Hide
]
Wen Hao Chuang - 04/Jan/08 05:24 AM
proposed patch
by the way, Red and Green should not be the only grading status indicators, in particular with color blindness issues.
W3C Check Point 2.1 Ensure that all information conveyed with color is also available without color, for example from context or markup. W3C Reccomendations http://www.w3.org/TR/WAI-WEBCONTENT-TECHS/#tech-color-convey So in the proposed patch we also provided a fix for the collapse issue (see the screenshot "collape_issue") The patch looks about right, but:
It is really bad to hard-code colours. Leave the HTML saying class="...", and then add appropriate rules the the standard theme stylesheet. The changes around like 200 look bogus to me. Please attach the patch as a unified diff so that I can apply it to my copy of the code. I can't do anything with an image. Do you really need the call to get_question_states? can't the $grade = '-'; line just go in the if (!$this->is_graded(...? if so, it would be more efficient. Also, you seem to set the $gradetext variable and never use it. If you can submit a revised patch, I would be happy to apply it. OK here is the original unified diff file, sorry I haven't got time to look into the comments that you had... sorry about this...
I noticed that in 1.9 this is still the case, I will propose a better fix (instead of hard-coded with color codes) later..
I submitted the patch in the duplicate issue. Here are the reasons I arrived at the solution my patch implements:
* no change to existing functionality WRT color distinctions (this is theme-dependent, and broken for the default theme) * textual distinction minimizes accessibility concerns (color-blindness) * symbolic text ("***") alleviates translation dependencies * minimally invasive patch All other suggestions are welcome; those were my considerations. Also, I realize the quiz module is going to be totally rewritten for 2.0, so this solution (whatever it ends up being) is really only for <=1.9. Cheers! Assigning quiz report issues mentioned in http://docs.moodle.org/en/Development:Quiz_report_enhancements to Jamie.
Jamie any update on this please? Thanks! :)
Also add Martin to the watch list, comments or thoughts? Thanks!
Graded attempt are highlighted in yellow in the "Manual Grading" tab.
Good. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||