[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstathelpers.pm
raeburn
raeburn at source.lon-capa.org
Fri Apr 17 22:21:49 EDT 2026
raeburn Sat Apr 18 02:21:49 2026 EDT
Modified files:
/loncom/interface/statistics lonstathelpers.pm
Log:
- WCAG 2.2 compliance -- satisfy minimum spacing between touch targets.
Index: loncom/interface/statistics/lonstathelpers.pm
diff -u loncom/interface/statistics/lonstathelpers.pm:1.82 loncom/interface/statistics/lonstathelpers.pm:1.83
--- loncom/interface/statistics/lonstathelpers.pm:1.82 Wed Dec 24 14:44:23 2025
+++ loncom/interface/statistics/lonstathelpers.pm Sat Apr 18 02:21:49 2026
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstathelpers.pm,v 1.82 2025/12/24 14:44:23 raeburn Exp $
+# $Id: lonstathelpers.pm,v 1.83 2026/04/18 02:21:49 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -249,10 +249,11 @@
}
$seq_str .= &Apache::loncommon::start_data_table_row().
($symbmode?
- '<td><input type="radio" id="'.$prefix.$rb_count.'" name="'.$prefix.'symb" value="'.&HTML::Entities::encode($res->symb,'<>&"').'" '.$checked.' '.
+ '<td class="LC_middle"><div style="inline-block; margin: 0 0 2px 0; padding: 0">'.
+ '<input type="radio" id="'.$prefix.$rb_count.'" name="'.$prefix.'symb" value="'.&HTML::Entities::encode($res->symb,'<>&"').'" '.$checked.' '.
$jsadd.
- ' /></td>'
- :qq{<td><input type="radio" id="$rb_count" name="problemchoice" value="$value"$checked /></td>}).
+ ' /></div></td>'
+ :qq{<td class="LC_middle"><div style="inline-block; margin: 0 0 3px 0; padding: 0"><input type="radio" id="$rb_count" name="problemchoice" value="$value"$checked /></div></td>}).
'<td>'.$resptype.'</td>'.
'<td><label for="'.$prefix.$rb_count.'">'.$title.'</label>';
if (scalar(@response_ids) > 1) {
More information about the LON-CAPA-cvs
mailing list