--- loncom/interface/lonwhatsnew.pm 2020/03/30 16:30:47 1.105.2.17
+++ loncom/interface/lonwhatsnew.pm 2024/09/11 05:20:52 1.130
@@ -1,5 +1,7 @@
+# The LearningOnline Network
+# What's New in a course
#
-# $Id: lonwhatsnew.pm,v 1.105.2.17 2020/03/30 16:30:47 raeburn Exp $
+# $Id: lonwhatsnew.pm,v 1.130 2024/09/11 05:20:52 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -80,7 +82,7 @@ sub handler {
}
unless ($isadhoc) {
%checkallowed = ( coursenormalmail => 1,
- coursecritmail => 1,);
+ coursecritmail => 1,);
}
foreach my $perm_check (['whn','whatsnew',1],
['pch','coursediscussion',1],
@@ -767,13 +769,18 @@ sub display_threshold_config {
my $onchange = 'onfocus="javascript:window.document.forms'.
"['thresholdform'].elements['".$parameter."_setparmval']".
'.checked=true;"';
+ my $aria_textbox = ' aria-label="'.&mt('Threshold value for [_1]',
+ $threshold_titles{$type}).'"';
+ my $aria_checkbox = ' aria-label="'.&mt('Change threshold value for [_1]',
+ $threshold_titles{$type}).'"';
$r->print(&Apache::loncommon::start_data_table_row()."\n".
'
'.$threshold_titles{$type}.' | '."\n".
''.&Apache::lonhtmlcommon::textbox($parameter.'_value',
$threshold{$type},
- 10,$onchange).' | '."\n".
+ 10,$onchange.$aria_textbox).''."\n".
''.
- &Apache::lonhtmlcommon::checkbox($parameter.'_setparmval').
+ &Apache::lonhtmlcommon::checkbox($parameter.'_setparmval',
+ '','',$aria_checkbox).
' | '."\n".
&Apache::loncommon::end_data_table_row());
}
@@ -827,7 +834,7 @@ sub display_interval_config {
'.
&mt('Display:').'
-