[LON-CAPA-cvs] cvs: loncom /interface lonsyllabus.pm
raeburn
raeburn at source.lon-capa.org
Wed May 13 19:20:02 EDT 2026
raeburn Wed May 13 23:20:02 2026 EDT
Modified files:
/loncom/interface lonsyllabus.pm
Log:
- WCAG 2.2 AA compliance: satisfy minimum spacing between touch targets.
Index: loncom/interface/lonsyllabus.pm
diff -u loncom/interface/lonsyllabus.pm:1.158 loncom/interface/lonsyllabus.pm:1.159
--- loncom/interface/lonsyllabus.pm:1.158 Fri Dec 19 21:55:48 2025
+++ loncom/interface/lonsyllabus.pm Wed May 13 23:20:02 2026
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Syllabus
#
-# $Id: lonsyllabus.pm,v 1.158 2025/12/19 21:55:48 raeburn Exp $
+# $Id: lonsyllabus.pm,v 1.159 2026/05/13 23:20:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -332,12 +332,10 @@
if ($target ne 'tex') {
my $link = &Apache::lonnet::url_prefix($r,$cdom,$homeserver,'web').
$r->uri;
- $r->print('<div class="LC_left_float">'
- .'<span class="LC_help_open_topic LC_info">'
+ $r->print('<div class="LC_left_float LC_help_open_topic">'
.'<span class="LC_info">'
.&mt('Public link (no log-in): [_1]','<tt>'.$link.'</tt>')
.' </span>'.&Apache::loncommon::help_open_topic('Syllabus_ExtLink')
- .'</span>'
.'</div><div style="padding:0;clear:both;margin:0;border:0"></div>'."\n");
my $lonhost = $r->dir_config('lonHostID');
$r->print(&chooser($r,$external,$uploaded,$minimal,$cdom,$cnum,$lonhost,
@@ -856,7 +854,7 @@
my $output =
'<form name="syllabus" method="post" enctype="multipart/form-data" action="">'."\n".
'<input type="hidden" name="forceedit" value="1" />'."\n".
- '<div class="LC_left_float"><fieldset><legend>'.$lt{'type'}.'</legend>';
+ '<div class="LC_left_float"><fieldset style="line-height: 185%;"><legend>'.$lt{'type'}.'</legend>';
foreach my $item ('minimal','template','url','file') {
$output .= '<label><input type="radio" name="choice" value="'.$item.'" '.$checked{$item}.' onclick="toggleEditor('."'$item'".')" />'.
$lt{$item}.'</label><br />';
@@ -898,11 +896,11 @@
'<span class="LC_nobreak">'.
'<input type="file" name="syllabusfile" size="55" aria-label="'.$labeltext.'" />'."\n".
' <input type="submit" name="storefile" value="'.$lt{'save'}.'" />'.
- '</span><br />'.
+ '</span><div style="margin: 4px 0 0 0; padding: 0">'.
'<label>'.
'<input type="checkbox" name="parserflag" checked="checked" />'.
$lt{'parse'}.
- '</label>'.
+ '</label></div>'.
'</fieldset></div>'.
'<div id="templatebox" class="LC_left_float" style="display: '.
$display{'templatebox'}.';"><fieldset><legend>'.$lt{'templateboxes'}.
More information about the LON-CAPA-cvs
mailing list