Commits

Anonymous committed 6c12971

Added the keyboard shortcuts.

Comments (0)

Files changed (2)

-* Add Alt+P, Alt+N, Alt+U key-bindings to traverse the site.
-    - Add them to the tooltips of the buttons.
-
 * Add a nice news items summary news box at the top with the site news. 
   Also create an RSS feed for them.
 
 * Create a site-map page.
 
+* Change the huge Software Patents button to the one at thewml.org
+    - Add the vote libertarian page and button.
             },
        )
    {
+        my $dir = $button->{dir};
+        my $key = substr($dir, 0, 1);
+        my $key_uc = uc($key);
         $nav_buttons_html .= "<a href=\"" . CGI::escapeHTML($nav_links->{$button->{dir}}) . 
-            "\" title=\"$button->{title}\"><img src=\"$(ROOT)/images/arrow-$button->{button}.png\" alt=\"$button->{title}\" style=\"border:0\" /></a>\n";
+            "\" title=\"$button->{title} (Alt+$key_uc)\" accesskey=\"$key\"><img src=\"$(ROOT)/images/arrow-$button->{button}.png\" alt=\"$button->{title}\" style=\"border:0\" /></a>\n";
    }
    print "<div class=\"center\">\n$nav_buttons_html\n</div>";
 }:>