W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2010

link-checker commit: implementing new access keys, as proposed in

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:47:03 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1ip-0005j4-07@blinky.w3.org>
changeset:   118:1ebef25b7879
user:        ot
date:        Thu Mar 31 06:25:28 2005 +0000
files:       bin/checklink docs/checklink.html
description:
implementing new access keys, as proposed in
http://lists.w3.org/Archives/Public/public-qa-dev/2005Mar/0013.html


diff -r 5db5e61bf6e8 -r 1ebef25b7879 bin/checklink
--- a/bin/checklink	Sat Feb 05 18:48:20 2005 +0000
+++ b/bin/checklink	Thu Mar 31 06:25:28 2005 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2005 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.16 2005-02-05 18:48:20 ville Exp $
+# $Id: checklink,v 4.17 2005-03-31 06:25:28 ot Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -118,7 +118,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.1';
   $REVISION    = sprintf('version %s (c) 1999-2005 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.16 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.17 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
 
@@ -683,7 +683,7 @@
       printf("<p>For reliable link checking results, check
 <a href=\"%s\">HTML validity</a> first.  See also
 <a href=\"%s\">CSS validity</a>.</p>
-<p>Back to the <a href=\"%s\">link checker</a>.</p>\n",
+<p>Back to the <a accesskey=\"1\" href=\"%s\">link checker</a>.</p>\n",
              &encode(sprintf($Cfg{Markup_Validator_URI}, $esc_uri)),
              &encode(sprintf($Cfg{CSS_Validator_URI}, $esc_uri)),
              &encode($Opts{_Self_URI}));
@@ -2046,12 +2046,14 @@
 sub banner ($)
 {
   my ($title) = @_;
-  printf(<<'EOF', &encode($title), $Cfg{Doc_URI});
+  printf(<<'EOF', &encode($title), $Cfg{Doc_URI}, $Cfg{Doc_URI});
 <div id="banner"><h1 id="title"><a href="http://www.w3.org/" title="W3C"><img alt="W3C" id="logo" src="http://www.w3.org/Icons/w3c_home" height="48" width="72"></a> Link Checker%s</h1></div>
 <ul class="navbar" id="menu">
-  <li><a href="%s" accesskey="d" title="Documentation for this Link Checker Service">Docs</a></li>
-  <li><a href="http://search.cpan.org/dist/W3C-LinkChecker/" accesskey="i" title="Download the source / Install this service">Download</a></li>
-  <li><a href="http://validator.w3.org/" accesskey="m" title="Validate your markup with the W3C Markup Validation Service">Validator</a></li>
+  <li><span class="hideme"><a href="#results1" accesskey="2" title="Skip past navigation to main part of page">Skip Navigation</a> |</span>
+  <li><a href="%s" accesskey="3" title="Documentation for this Link Checker Service">Docs</a></li>
+  <li><a href="http://search.cpan.org/dist/W3C-LinkChecker/" title="Download the source / Install this service">Download</a></li>
+  <li><a href="%s#csb" title="feedback: comments, suggestions and bugs" accesskey="4">Feedback</a></li>
+  <li><a href="http://validator.w3.org/" title="Validate your markup with the W3C Markup Validation Service">Validator</a></li>
 </ul>
 <div id="main">
 EOF
diff -r 5db5e61bf6e8 -r 1ebef25b7879 docs/checklink.html
--- a/docs/checklink.html	Sat Feb 05 18:48:20 2005 +0000
+++ b/docs/checklink.html	Thu Mar 31 06:25:28 2005 +0000
@@ -6,7 +6,7 @@
     <title>W3C Link Checker Documentation</title>
     <link rev="made" href="mailto:www-validator@w3.org" />
     <style type="text/css" media="all">@import "linkchecker.css";</style>
-    <meta name="revision" content="$Id: checklink.html,v 1.28 2005-01-09 20:43:36 ville Exp $" />
+    <meta name="revision" content="$Id: checklink.html,v 1.29 2005-03-31 06:25:28 ot Exp $" />
   </head>
 
   <body>
@@ -18,10 +18,11 @@
     </div>
 
     <ul class="navbar" id="menu">
-        <li><a href="http://validator.w3.org/checklink" accesskey="l" title="The Link Checker Service at W3C">Link Checker</a></li>
-        <li><a href="http://search.cpan.org/dist/W3C-LinkChecker/" accesskey="i" title="Download the source / Install this service">Download</a></li>
-        <li>
-        <a href="http://validator.w3.org" accesskey="m" title="Validate your markup with the W3C Markup Validation Service">Validator</a></li>
+        <li><span class="hideme"><a href="#main" accesskey="2" title="Skip past navigation to main part of page">Skip Navigation</a> |</span>
+        <li><a href="http://validator.w3.org/checklink" accesskey="1" title="The Link Checker Service at W3C">Link Checker</a></li>
+        <li><a href="http://search.cpan.org/dist/W3C-LinkChecker/" title="Download the source / Install this service">Download</a></li>
+	<li><a href="#csb" title="feedback: comments, suggestions and bugs" accesskey="4">Feedback</a></li>
+        <li><a href="http://validator.w3.org" title="Validate your markup with the W3C Markup Validation Service">Validator</a></li>
     </ul>
 
     <div id="main">
@@ -273,7 +274,7 @@
         alt="Valid XHTML 1.0!" /></a>
       <a title="Send Feedback for the W3C Link Checker"
         href="http://validator.w3.org/feedback.html">The W3C Validator Team</a><br />
-      $Date: 2005-01-09 20:43:36 $
+      $Date: 2005-03-31 06:25:28 $
     </address>
     <p class="copyright">
       <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 1994-2005
Received on Thursday, 5 August 2010 14:47:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC