[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonmsgdisplay.pm
raeburn
raeburn at source.lon-capa.org
Tue May 5 15:03:21 EDT 2026
raeburn Tue May 5 19:03:21 2026 EDT
Modified files:
/loncom/interface lonmsgdisplay.pm loncommon.pm
Log:
- WCAG 2.2 compliance: satisfy minimum spacing between touch targets.
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.207 loncom/interface/lonmsgdisplay.pm:1.208
--- loncom/interface/lonmsgdisplay.pm:1.207 Wed Jan 21 20:55:08 2026
+++ loncom/interface/lonmsgdisplay.pm Tue May 5 19:03:21 2026
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging display
#
-# $Id: lonmsgdisplay.pm,v 1.207 2026/01/21 20:55:08 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.208 2026/05/05 19:03:21 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1151,8 +1151,8 @@
$r->print(&scrollbuttons($startdis,$number,$firstdis,$lastdis,$totalnumber,$msgstatus));
$r->print('<form method="post" name="disall" action="/adm/email">'.
&Apache::loncommon::start_data_table().
- &Apache::loncommon::start_data_table_row().
- '<th colspan="1">#</th><th>');
+ &Apache::loncommon::start_data_table_header_row('LC_messages_header').
+ '<th>#</th><th>');
if ($env{'form.sortedby'} eq "revdate") {
$r->print('<a href = "/adm/email?sortedby=date'.$fsqs.'">'.&mt('Date').'</a></th>');
} else {
@@ -1188,7 +1188,7 @@
} else {
$r->print('<a href = "/adm/email?sortedby=revstatus'.$fsqs.'">'.&mt('Status').'</a></th>');
}
- $r->print("</tr>\n");
+ $r->print(&Apache::loncommon::end_data_table_header_row()."\n");
my $suffix = &Apache::lonmsg::foldersuffix($folder);
my $count = $firstdis;
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1522 loncom/interface/loncommon.pm:1.1523
--- loncom/interface/loncommon.pm:1.1522 Tue May 5 18:25:56 2026
+++ loncom/interface/loncommon.pm Tue May 5 19:03:21 2026
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1522 2026/05/05 18:25:56 raeburn Exp $
+# $Id: loncommon.pm,v 1.1523 2026/05/05 19:03:21 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -8182,6 +8182,10 @@
background-color: $data_table_head;
}
+tr.LC_messages_header > th {
+ line-height: 185%;
+}
+
.LC_subtext {
font-weight: normal;
}
More information about the LON-CAPA-cvs
mailing list