-
Improvement
-
Resolution: Fixed
-
Minor
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-54838-master -
This improvement has been raised in forum
Elements inside each Aspect (e.g. Comment, Grade fields) on Assessment form does not properly link to the corresponding Aspect, so screen reader user may find it difficult to complete the Assessment form.
So these elements' label need to be updated to specify the Aspect that they belong to so that screen reader user know which aspect they comment/grade on.
The solution will be:
1. Instead of inserting a placeholder to existing string dimensioncomment, generate new string like: $string['dimensioncommentfor'] = 'Comment for {$a}';
New strings are needed for the following fields for each grading method:
Accumulative grading:
'Grade for {$a}'
'Comment for {$a}'
Comments:
'Comment for {$a}' – the same as comment in Accumulative grading method
Number of errors:
'Your assessment for {$a}'
'Comment for {$a}' – the same as comment in Accumulative grading method
2. bind the displayed description of the aspect with the input fields. e.g.
aria-labelledby="id_dimensionhdr__idx_0" aria-describedby="id_dim_1_desc"