-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.6, 4.2.3, 4.3
In MDL-79062, the following items were raised on the grader report:
- Grade input fields accept alphabet characters but no warning is given when the form is submitted. These characters are not valid and the data field defaults to 0.00.
- Grades over the maximum value, when added to the grade input are identified, but the error message is not near to the input field in which it refers to.
So I have set the input type of the grade fields to number and applied min and max attributes when applicable in order to leverage the browser's built-in form validation. This is only applicable though if the decimal separator in langconfig is set to period.
This was not raised for the Single view report in the accessibility audit, but I think it would also be good to implement this, especially when overriding grades in the Single view report.