]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 634310: Remove WCAG 2.0 violations from the index.cgi to make it
authorFrancisco Donalisio <francsd@linux.vnet.ibm.com>
Tue, 8 Mar 2011 23:57:19 +0000 (20:57 -0300)
committerTiago Mello <timello@gmail.com>
Tue, 8 Mar 2011 23:57:19 +0000 (20:57 -0300)
W3C WAI compliant.
r=timello, a=LpSolit

template/en/default/account/auth/login-small.html.tmpl
template/en/default/global/common-links.html.tmpl
template/en/default/global/header.html.tmpl
template/en/default/index.html.tmpl

index a7e72eaf1fcb6147678cd1fc687f92a89be5af86..39984aeaf239738a82129ba59f81b329ed666935 100644 (file)
     <input id="Bugzilla_login[% qs_suffix FILTER html %]" 
            class="bz_login"
            name="Bugzilla_login"
+           title="Login"
            onfocus="mini_login_on_focus('[% qs_suffix FILTER js %]')"
     >
     <input class="bz_password" 
            id="Bugzilla_password[% qs_suffix FILTER html %]" 
            name="Bugzilla_password"
            type="password"
+           title="Password"
     >
     <input class="bz_password bz_default_hidden bz_mini_login_help" type="text" 
            id="Bugzilla_password_dummy[% qs_suffix %]" value="password"
+           title="Password"
            onfocus="mini_login_on_focus('[% qs_suffix FILTER js %]')"
     >
     [% IF Param('rememberlogin') == 'defaulton' ||
      onclick="return show_forgot_form('[% qs_suffix %]')">Forgot Password</a>
   <form action="token.cgi" method="post" id="forgot_form[% qs_suffix %]"
         class="mini_forgot bz_default_hidden">
-    <label>Login: <input type="text" name="loginname" size="20"></label>
+    <label for="login[% qs_suffix FILTER html %]">Login:</label>
+    <input type="text" name="loginname" size="20" id="login[% qs_suffix FILTER html %]">
     <input id="forgot_button[% qs_suffix %]" value="Reset Password" 
            type="submit">
     <input type="hidden" name="a" value="reqpw">
index b0bb36315234ea64b9f33b7bd4daa281ee677a03..769d41e7eb4848cf21d717c73cc8873938a82da1 100644 (file)
@@ -35,7 +35,7 @@
                   { alert('Please enter one or more search terms first.');
                     return false; } return true;">
     <input class="txt" type="text" id="quicksearch[% qs_suffix FILTER html %]" name="quicksearch" 
-           value="[% quicksearch FILTER html %]">
+           title="Quick Search" value="[% quicksearch FILTER html %]">
     <input class="btn" type="submit" value="Search" 
            id="find[% qs_suffix FILTER html %]">
     [%-# Work around FF bug: keep this on one line %]</form>
index d6a07bcd3d2b68fb3433f86a9510088f0509ce4e..c7c104e295ee75d0c49d47fbbe87fee8c54573d6 100644 (file)
@@ -91,7 +91,7 @@
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                       "http://www.w3.org/TR/html4/loose.dtd">
-<html>
+<html lang="en">
   <head>
     [% Hook.process("start") %]
     <title>[% title %]</title>
index 73f18a5fd8cd7409b011ac61aed507d169aa620d..b1370261fd54871bd39d5fba3cef1ea669080636 100644 (file)
@@ -140,6 +140,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
               onsubmit="return checkQuicksearch(this);">
           <div>
             <input id="quicksearch_main" type="text" name="quicksearch"
+              title="Quick Search" 
               onfocus="quicksearchHelpText(this.id, 'hide');"
               onblur="quicksearchHelpText(this.id, 'show');"
             >