[LON-CAPA-cvs] cvs: loncom /interface lonnavdisplay.pm

raeburn raeburn at source.lon-capa.org
Sun Oct 13 21:34:57 EDT 2024


raeburn		Mon Oct 14 01:34:57 2024 EDT

  Modified files:              
    /loncom/interface	lonnavdisplay.pm 
  Log:
  - WCAG 2 compliance
  
  
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.43 loncom/interface/lonnavdisplay.pm:1.44
--- loncom/interface/lonnavdisplay.pm:1.43	Tue Jul  2 02:13:19 2024
+++ loncom/interface/lonnavdisplay.pm	Mon Oct 14 01:34:57 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Display Handler
 #
-# $Id: lonnavdisplay.pm,v 1.43 2024/07/02 02:13:19 raeburn Exp $
+# $Id: lonnavdisplay.pm,v 1.44 2024/10/14 01:34:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -317,13 +317,14 @@
               '<form name="sortForm" action="">
                  <span class="LC_nobreak">
                     <input type="hidden" name="showOnlyHomework" value="'.$env{'form.showOnlyHomework'}.'" />
-                    '.&mt('Sort by:').'
-                    <select name="sort" onchange="document.sortForm.submit()">
+                    <label for="LC_navmap_sort">'.&mt('Sort by:').'</label>
+                    <select name="sort" id="LC_navmap_sort">
                        <option value="default"'.$selected{'default'}.'>'.&mt('Default').'</option>
                        <option value="title"'.$selected{'title'}.'>'.&mt('Title').'</option>
                        <option value="duedate"'.$selected{'duedate'}.'>'.&mt('Due Date').'</option>
                        <option value="discussion"'.$selected{'discussion'}.'>'.&mt('Has New Discussion').'</option>
                     </select>
+                    <input type="submit" value="'.&mt('Go').'" />
                  </span>
                </form>');
     }




More information about the LON-CAPA-cvs mailing list