diff options
author | ot <ot@localhost> | 2005-03-31 04:33:37 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2005-03-31 04:33:37 +0000 |
commit | 21ba5e579cc2f21050d0ea4ce08dbb48170ab08e (patch) | |
tree | 6a2bb897005c1da6b62e3ecc61215280614065af | |
parent | 6e975c70011951446a6a374a18fe4391e5fd840e (diff) | |
download | markup-validator-21ba5e579cc2f21050d0ea4ce08dbb48170ab08e.zip markup-validator-21ba5e579cc2f21050d0ea4ce08dbb48170ab08e.tar.gz markup-validator-21ba5e579cc2f21050d0ea4ce08dbb48170ab08e.tar.bz2 |
implementing new access keys, as proposed in
http://lists.w3.org/Archives/Public/public-qa-dev/2005Mar/0013.html
-rwxr-xr-x | htdocs/accesskeys.html | 56 | ||||
-rwxr-xr-x | htdocs/header.html | 10 | ||||
-rw-r--r-- | share/templates/en_US/feedback.tmpl | 4 | ||||
-rw-r--r-- | share/templates/en_US/header.tmpl | 8 | ||||
-rw-r--r-- | share/templates/en_US/table.tmpl | 20 | ||||
-rw-r--r-- | share/templates/en_US/warnings.tmpl | 2 |
6 files changed, 38 insertions, 62 deletions
diff --git a/htdocs/accesskeys.html b/htdocs/accesskeys.html index 5361395..f1d892b 100755 --- a/htdocs/accesskeys.html +++ b/htdocs/accesskeys.html @@ -1,5 +1,5 @@ -<!--#set var="revision" value="\$Id: accesskeys.html,v 1.5 2004-05-09 15:56:49 link Exp $" ---><!--#set var="date" value="\$Date: 2004-05-09 15:56:49 $" +<!--#set var="revision" value="\$Id: accesskeys.html,v 1.6 2005-03-31 04:33:37 ot Exp $" +--><!--#set var="date" value="\$Date: 2005-03-31 04:33:37 $" --><!--#set var="title" value="Accesskeys Legend For The W3C Markup Validation Service" --><!--#set var="relroot" value="./" --><!--#include virtual="header.html" --> @@ -13,45 +13,21 @@ <a href="feedback.html">Feedback</a> page. </p> </div> - <div> + <h2>Accesskey Legend</h2> - <div id="navkeys"> - <h3>Navigation Menu Accesskeys</h3> - <dl> - <dt>s</dt> - <dd>Skip past the navigation links to what is considered the main content of the page.</dd> - <dt>k</dt> - <dd>Attached to the "Accesskey Legend" link in the navigation menu (points to this page).</dd> - <dt>h</dt> - <dd>Attached to the "Home Page" link in the navigation menu..</dd> - </dl> - </div> - <div id="formkeys"> - <h3>Validation Form Accesskeys</h3> - <dl> - <dt>r</dt> - <dd>Attached to the "Results" link in the "Jump To" menu.</dd> - <dt>1</dt> - <dd>Attached to the "Address" field in the form.</dd> - <dt>2</dt> - <dd>Attached to the "Character Encoding" menu in the form.</dd> - <dt>3</dt> - <dd>Attached to the "Doctype" menu in the form.</dd> - <dt>4</dt> - <dd>Attached to the fieldset containing all the option checkboxes in the form.</dd> - <dt>5</dt> - <dd>Attached to the "Show Page Source" option in the form.</dd> - <dt>6</dt> - <dd>Attached to the "Show Outline" option in the form.</dd> - <dt>7</dt> - <dd>Attached to the "Show Parse Tree" option in the form.</dd> - <dt>8</dt> - <dd>Attached to the "Exclude Attributes from Parse Tree" option in the form.</dd> - <dt>9</dt> - <dd>Attached to the "Revalidate" (submit) button in the form.</dd> - </dl> - </div> - </div> + <ol> + <li><p>Home: access key "1" leads back to the service's home page.</p></li> + <li><p>Skip Navigation: access key "2"...</p> + <ul> + <li>... in results pages, leads you to the beginning of the actual results</li> + <li>... in documentation pages, leads you to the table of contents</li> + <li>... in other pages (home page, advanced interface pages), leads you to the first form</li> + </ul> + </li> + <li><p>Documentation: access key "3" leads to the documentation index for the service.</p></li> + <li><p>Feedback: access key "4" leads to the feedback instructions.</p></li> + </ol> + </div> <!--#include virtual="footer.html" --> </body> diff --git a/htdocs/header.html b/htdocs/header.html index e03d0a8..7965586 100755 --- a/htdocs/header.html +++ b/htdocs/header.html @@ -12,7 +12,7 @@ <meta name="description" content="W3C's easy-to-use HTML validation service, based on an SGML parser." /> <meta name="revision" content="<!--#echo var="revision" -->" /> - <!-- SSI Template Version: $Id: header.html,v 1.30 2005-01-04 08:37:53 ot Exp $ --> + <!-- SSI Template Version: $Id: header.html,v 1.31 2005-03-31 04:33:37 ot Exp $ --> </head> <body> @@ -24,13 +24,13 @@ <span id="versioninfo"><abbr title="version">v</abbr>0.7.0-dev</span> </div> <ul class="navbar" id="menu"> - <li><span class="hideme"><a href="#skip" accesskey="s" title="Skip past navigation to main part of page">Skip Navigation</a> |</span> - <a href="<!--#echo var="relroot" -->" accesskey="h" title="Go to the Home Page for The W3C Markup Validation Service"><strong>Home</strong></a></li> + <li><span class="hideme"><a href="#skip" accesskey="2" title="Skip past navigation to main part of page">Skip Navigation</a> |</span> + <a href="<!--#echo var="relroot" -->" accesskey="1" title="Go to the Home Page for The W3C Markup Validation Service"><strong>Home</strong></a></li> <li><a href="<!--#echo var="relroot" -->about.html" title="Information About this Service">About...</a></li> <li><a href="<!--#echo var="relroot" -->whatsnew.html" title="The changes made to this service recently">News</a></li> - <li><a href="<!--#echo var="relroot" -->docs/" title="Documentation for this Service">Docs</a></li> + <li><a href="<!--#echo var="relroot" -->docs/" accesskey="3" title="Documentation for this Service">Docs</a></li> <li><a href="<!--#echo var="relroot" -->docs/help.html" title="Help and answers to frequently asked questions">Help & <acronym title="Frequently Asked Questions">FAQ</acronym></a></li> - <li><a href="<!--#echo var="relroot" -->feedback.html" title="How to provide feedback on this service">Feedback</a></li> + <li><a href="<!--#echo var="relroot" -->feedback.html" accesskey="4" title="How to provide feedback on this service">Feedback</a></li> <li><a href="http://validator.w3.org/checklink" title="In addition to fixing your markup, fix your links with the W3C Link Checker">Link Checker</a></li> </ul> diff --git a/share/templates/en_US/feedback.tmpl b/share/templates/en_US/feedback.tmpl index f75cfc4..0709460 100644 --- a/share/templates/en_US/feedback.tmpl +++ b/share/templates/en_US/feedback.tmpl @@ -77,9 +77,9 @@ <input id="type-index" name="type-index" type="hidden" value="www-validator" /> <input id="index-type" name="index-type" type="hidden" value="t" /> <TMPL_IF NAME="errmsg_id"> - <input name="keywords" type="text" size="33" maxlength="100" value="[VE][<TMPL_VAR NAME="errmsg_id" ESCAPE="URL">]" accesskey="f" /> + <input name="keywords" type="text" size="33" maxlength="100" value="[VE][<TMPL_VAR NAME="errmsg_id" ESCAPE="URL">]" /> <TMPL_ELSE> - <input name="keywords" type="text" size="33" maxlength="100" value="" accesskey="f" /> + <input name="keywords" type="text" size="33" maxlength="100" value="" /> </TMPL_IF> <input type="submit" name="search" value="Search Mail Archives" /> </p> diff --git a/share/templates/en_US/header.tmpl b/share/templates/en_US/header.tmpl index e122f23..3c2e739 100644 --- a/share/templates/en_US/header.tmpl +++ b/share/templates/en_US/header.tmpl @@ -30,13 +30,13 @@ X-W3C-Validator-Recursion: <TMPL_IF NAME="depth"><TMPL_VAR NAME="depth"><TMPL_EL <span id="versioninfo"><abbr title="version">v</abbr>0.7.0-dev</span> </div> <ul class="navbar" id="menu"> - <li><span class="hideme"><a href="#skip" accesskey="s" title="Skip past navigation to main part of page">Skip Navigation</a> |</span> - <a href="./" accesskey="h" title="Go to the Home Page for The W3C Markup Validation Service"><strong>Home</strong></a></li> + <li><span class="hideme"><a href="#skip" accesskey="2" title="Skip past navigation to main part of page">Skip Navigation</a> |</span> + <a href="./" accesskey="1" title="Go to the Home Page for The W3C Markup Validation Service"><strong>Home</strong></a></li> <li><a href="./about.html" title="Information About this Service">About...</a></li> <li><a href="./whatsnew.html" title="The changes made to this service recently">News</a></li> - <li><a href="./docs/" title="Documentation for this Service">Docs</a></li> + <li><a href="./docs/" accesskey="3" title="Documentation for this Service">Docs</a></li> <li><a href="./docs/help.html" title="Help and answers to frequently asked questions">Help & <acronym title="Frequently Asked Questions">FAQ</acronym></a></li> - <li><a href="./feedback.html" title="How to provide feedback on this service">Feedback</a></li> + <li><a href="./feedback.html" accesskey="4" title="How to provide feedback on this service">Feedback</a></li> <li><a href="http://validator.w3.org/checklink" title="In addition to fixing your markup, fix your links with the W3C Link Checker">Link Checker</a></li> </ul> diff --git a/share/templates/en_US/table.tmpl b/share/templates/en_US/table.tmpl index 761ae57..44cf217 100644 --- a/share/templates/en_US/table.tmpl +++ b/share/templates/en_US/table.tmpl @@ -5,8 +5,8 @@ <TMPL_IF NAME="is_upload"> <th>File:</th><td colspan="2"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></td> <TMPL_ELSE> - <th><label title="Address of Page to Validate (accesskey: 1)" for="uri">Address</label>:</th> - <td colspan="2"><input accesskey="1" type="text" id="uri" name="uri" value="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">" /></td> + <th><label title="Address of Page to Validate" for="uri">Address</label>:</th> + <td colspan="2"><input type="text" id="uri" name="uri" value="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">" /></td> </TMPL_IF> </tr> <TMPL_IF NAME="opt_verbose"> @@ -26,7 +26,7 @@ <TMPL_ELSE> <TMPL_IF NAME="file_charset"> <tr> - <th><label accesskey="2" title="Character Encoding (accesskey: 2)" for="charset">Encoding</label>:</th> + <th><label title="Character Encoding" for="charset">Encoding</label>:</th> <td><TMPL_VAR NAME="file_charset" ESCAPE="HTML"></td><td><TMPL_INCLUDE NAME="popup_charset.tmpl"></td> </tr> <TMPL_ELSE> @@ -34,7 +34,7 @@ </TMPL_IF> <TMPL_IF NAME="file_version"> <tr> - <th><label accesskey="3" for="doctype" title="Document Type (accesskey: 3)">Doctype</label>:</th> + <th><label for="doctype" title="Document Type">Doctype</label>:</th> <td><TMPL_VAR NAME="file_version" ESCAPE="HTML"></td><td><TMPL_INCLUDE NAME="popup_doctype.tmpl"></td> </tr> <TMPL_ELSE> @@ -60,31 +60,31 @@ </table> <TMPL_UNLESS NAME="is_upload"> <fieldset> - <legend accesskey="4">Revalidate With Options</legend> + <legend>Revalidate With Options</legend> <table class="header"> <tr> - <th><input type="submit" value="Revalidate" accesskey="9" title="Revalidate file (accesskey: 9)" />: </th> + <th><input type="submit" value="Revalidate" title="Revalidate file" />: </th> <td colspan="2"> <table class="options"> <tr> - <td><label title="Show Page Source (accesskey: 5)" for="ss"><input type="checkbox" value="1" id="ss" name="ss" accesskey="5" + <td><label title="Show Page Source" for="ss"><input type="checkbox" value="1" id="ss" name="ss" <TMPL_IF NAME="opt_show_source"> checked="checked" </TMPL_IF> />Show Source</label></td> - <td><label title="Show an Outline of the document (accesskey: 6)" for="outline"><input type="checkbox" value="1" id="outline" name="outline" accesskey="6" + <td><label title="Show an Outline of the document" for="outline"><input type="checkbox" value="1" id="outline" name="outline" <TMPL_IF NAME="opt_show_outline"> checked="checked" </TMPL_IF> />Show Outline</label></td> </tr> <tr> - <td><label title="Show Parse Tree (accesskey: 7)" for="sp"><input type="checkbox" value="1" id="sp" name="sp" accesskey="7" + <td><label title="Show Parse Tree" for="sp"><input type="checkbox" value="1" id="sp" name="sp" <TMPL_IF NAME="opt_show_parsetree"> checked="checked" </TMPL_IF> />Show Parse Tree</label></td> - <td><label title="Exclude Attributes from Parse Tree (accesskey: 8)" for="noatt"><input type="checkbox" value="1" id="noatt" name="noatt" accesskey="8" + <td><label title="Exclude Attributes from Parse Tree" for="noatt"><input type="checkbox" value="1" id="noatt" name="noatt" <TMPL_IF NAME="opt_show_noatt"> checked="checked" </TMPL_IF> diff --git a/share/templates/en_US/warnings.tmpl b/share/templates/en_US/warnings.tmpl index 699bb12..1c52af4 100644 --- a/share/templates/en_US/warnings.tmpl +++ b/share/templates/en_US/warnings.tmpl @@ -105,7 +105,7 @@ <p> To quickly check whether the document would validate after addressing the missing character encoding information, you can use the "Encoding" - form control (accesskey "2") earlier in the page to force an encoding + form control earlier in the page to force an encoding override to take effect. "iso-8859-1" (Western Europe and North America) and "utf-8" (Universal, but not commonly used in legacy documents) are common encodings if you are not sure what encoding to choose. |