[LON-CAPA-cvs] cvs: loncom /homework/caparesponse caparesponse.pm
raeburn
raeburn at source.lon-capa.org
Thu Feb 20 01:36:00 EST 2025
raeburn Thu Feb 20 06:36:00 2025 EDT
Modified files:
/loncom/homework/caparesponse caparesponse.pm
Log:
- WCAG 2 compliance.
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.265 loncom/homework/caparesponse/caparesponse.pm:1.266
--- loncom/homework/caparesponse/caparesponse.pm:1.265 Wed Oct 30 03:12:40 2024
+++ loncom/homework/caparesponse/caparesponse.pm Thu Feb 20 06:36:00 2025
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# caparesponse definition
#
-# $Id: caparesponse.pm,v 1.265 2024/10/30 03:12:40 raeburn Exp $
+# $Id: caparesponse.pm,v 1.266 2025/02/20 06:36:00 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -653,10 +653,10 @@
if ($previous eq $bubble_values->[$ind]) {
$checked=" checked='on' ";
}
- $result.='<td><input type="radio" name="HWVAL_'.$id.
+ $result.='<td><label><input type="radio" name="HWVAL_'.$id.
'" value="'.$bubble_values->[$ind].'" '.$checked
.' /><b>'.$alphabet[$ind].'</b>: '.
- $bubble_display->[$ind].'</td>';
+ $bubble_display->[$ind].'</label></td>';
}
$result.='</tr></table>';
}
More information about the LON-CAPA-cvs
mailing list