summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Donalisio <francsd@linux.vnet.ibm.com>2011-04-05 02:04:55 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-04-05 02:04:55 +0200
commit46cb9df892b0032a8a5fe56f7dfd3d0df8c88e4d (patch)
tree8874b5a595b721c89fd2b5332e3371bd2f8945f6
parent05ddc23d42b9d5b8ebbba1e5904d836343d98fab (diff)
downloadbugzilla-46cb9df892b0032a8a5fe56f7dfd3d0df8c88e4d.tar.gz
bugzilla-46cb9df892b0032a8a5fe56f7dfd3d0df8c88e4d.tar.xz
Bug 635202: Make the Simple search page compliant with WAI
r=timello, a=mkanat
-rw-r--r--skins/standard/search_form.css6
-rw-r--r--template/en/default/search/search-specific.html.tmpl21
2 files changed, 16 insertions, 11 deletions
diff --git a/skins/standard/search_form.css b/skins/standard/search_form.css
index 7258b880b..0e661c9a0 100644
--- a/skins/standard/search_form.css
+++ b/skins/standard/search_form.css
@@ -199,4 +199,8 @@ div.bz_section_title span {
.bz_search_section, ul.bz_search_section {
margin-top: 1em;
-} \ No newline at end of file
+}
+
+.bz_simple_search_form th {
+ text-align: right;
+}
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
index 78e5506a0..776554a64 100644
--- a/template/en/default/search/search-specific.html.tmpl
+++ b/template/en/default/search/search-specific.html.tmpl
@@ -22,6 +22,7 @@
[% PROCESS global/header.html.tmpl
title = "Simple Search"
+ style_urls = [ "skins/standard/search_form.css" ]
%]
[% WRAPPER search/tabs.html.tmpl %]
@@ -42,11 +43,11 @@ for "crash secure SSL flash".
<input type="hidden" name="query_format" value="specific">
<input type="hidden" name="order" value="relevance desc">
-<table>
+<table summary="Search fields" class="bz_simple_search_form">
<tr>
- <td align="right" valign="baseline">
- <b><label for="bug_status">Status:</label></b>
- </td>
+ <th>
+ <label for="bug_status">Status:</label>
+ </th>
<td>
<select name="bug_status" id="bug_status">
[% statuses = [ { name = 'open', label = "Open" },
@@ -62,9 +63,9 @@ for "crash secure SSL flash".
</td>
</tr>
<tr>
- <td align="right" valign="baseline">
- <b><label for="product">Product:</label></b>
- </td>
+ <th>
+ <label for="product">Product:</label>
+ </th>
<td>
<select name="product" id="product">
<option value="">All</option>
@@ -93,9 +94,9 @@ for "crash secure SSL flash".
</td>
</tr>
<tr>
- <td align="right" valign="baseline">
- <b><label for="content">Words:</label></b>
- </td>
+ <th>
+ <label for="content">Words:</label>
+ </th>
<td>
<input name="content" size="40" id="content"
value="[% default.content.0 FILTER html %]">