[LON-CAPA-cvs] cvs: loncom /homework response.pm
raeburn
raeburn at source.lon-capa.org
Wed Feb 19 22:26:13 EST 2025
raeburn Thu Feb 20 03:26:13 2025 EDT
Modified files:
/loncom/homework response.pm
Log:
- WCAG 2 compliance.
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.252 loncom/homework/response.pm:1.253
--- loncom/homework/response.pm:1.252 Wed Feb 19 23:38:41 2025
+++ loncom/homework/response.pm Thu Feb 20 03:26:13 2025
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# various response type definitons response definition
#
-# $Id: response.pm,v 1.252 2025/02/19 23:38:41 raeburn Exp $
+# $Id: response.pm,v 1.253 2025/02/20 03:26:13 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -853,7 +853,7 @@
}
push(@answer_bits,$bit);
} else {
- my $th = '<td '.(defined($rows)?'rowspan="'.$rows.'"':'').'>';
+ my $th = '<th '.(defined($rows)?'rowspan="'.$rows.'"':'').'>';
$result = '<table border="1"><tr>';
if ($Apache::lonhomework::type eq 'exam') {
$result .= $th.($Apache::lonxml::counter+$increment). ')</th>';
More information about the LON-CAPA-cvs
mailing list