[LON-CAPA-cvs] cvs: loncom /interface lonpreferences.pm
raeburn
raeburn at source.lon-capa.org
Sat Apr 18 02:54:54 EDT 2026
raeburn Sat Apr 18 06:54:54 2026 EDT
Modified files:
/loncom/interface lonpreferences.pm
Log:
- WCAG 2.2 compliance -- satisfy minimum spacing between touch targets.
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.253 loncom/interface/lonpreferences.pm:1.254
--- loncom/interface/lonpreferences.pm:1.253 Wed Apr 15 16:36:58 2026
+++ loncom/interface/lonpreferences.pm Sat Apr 18 06:54:54 2026
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.253 2026/04/15 16:36:58 raeburn Exp $
+# $Id: lonpreferences.pm,v 1.254 2026/04/18 06:54:54 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -794,8 +794,11 @@
<input type="hidden" name="returnurl" value="$returnurl" />
<input type="hidden" name="action" value="verify_and_change_domcoord" />
$text<br />
-<label><input type="checkbox" name="construction"$constchecked />$construction</label><br />
+<label><input type="checkbox" name="construction"$constchecked />$construction</label>
+<br />
+<div style="margin: 4px 0 0 0; padding: 0;">
<input type="submit" value="$change" />
+</div>
</form>
ENDSCREEN
}
@@ -2094,7 +2097,8 @@
<input type="hidden" name="action" value="verify_and_change_coursepage" />
<br />
<label><input type="radio" name="newdisp" value="firstres" $firstselect /> $whatsnew_off</label><br />
-<label><input type="radio" name="newdisp" value="whatsnew" $whatsnewselect /> $whatsnew_on</label><input type="hidden" name="refpage" value="$env{'form.refpage'}" />
+<div style="margin: 5px 0 0 0; padding: 0">
+<label><input type="radio" name="newdisp" value="whatsnew" $whatsnewselect /> $whatsnew_on</label><input type="hidden" name="refpage" value="$env{'form.refpage'}" /></div>
ENDLSCREEN
$r->print('<br /><br /><input type="submit" value="'.&mt('Save').'" />
</form>');
@@ -2611,9 +2615,10 @@
<form name="prefs" action="/adm/preferences" method="post">
<input type="hidden" name="action" value="verify_and_change_timezone" />
<fieldset style="display:inline; padding: 5px;"><legend>$lt{'tztu'}</legend>
+<div style="margin: 0 0 5px 0; padding: 0;">
<span class="LC_nobreak">
<label><input type="radio" name="settimezone" value="0"$checked{'lctz'}$onclick />
-$lt{'lctz'}</label></span><br />
+$lt{'lctz'}</label></span></div>
<span class="LC_nobreak">
<label><input type="radio" name="settimezone" value="1"$checked{'owntz'}$onclick />
$lt{'owntz'}</label></span><div style="display:$tzsty" id="LC_timezone_selector">
More information about the LON-CAPA-cvs
mailing list