]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 635202: Make the Simple search page compliant with WAI
authorFrancisco Donalisio <francsd@linux.vnet.ibm.com>
Tue, 5 Apr 2011 00:04:55 +0000 (17:04 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 5 Apr 2011 00:04:55 +0000 (17:04 -0700)
r=timello, a=mkanat

skins/standard/search_form.css
template/en/default/search/search-specific.html.tmpl

index 7258b880b3ce52f5d9cf5307d8282c43023c6d0a..0e661c9a0d307a0718ce1a162ada8a954e24c110 100644 (file)
@@ -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;
+}
index 78e5506a0cefefe7baef7cd2c9bb8dc4e47016fc..776554a644ccbd83a58169a192cd57ad820d6426 100644 (file)
@@ -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 %]">