Commit fd4f9fad authored by Francisco Donalisio's avatar Francisco Donalisio Committed by Tiago Mello

Bug 634310: Remove WCAG 2.0 violations from the index.cgi to make it

W3C WAI compliant. r=timello, a=LpSolit
parent 6c42067c
......@@ -47,15 +47,18 @@
<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' ||
......@@ -112,7 +115,8 @@
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">
......
......@@ -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>
......
......@@ -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>
......
......@@ -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');"
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment