Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaustin2011-11-16 15:35:26 +0000
committercaustin2011-11-16 15:35:26 +0000
commitf4c08f9bd21fbd195a786b6e09a49348d3f27872 (patch)
treee089b63cea3af29b543f2b39f97596e0030a01de
parentd1a2507aca888046af1008ae59d1b5b20f5b0122 (diff)
downloadeclipse.platform.ua-f4c08f9bd21fbd195a786b6e09a49348d3f27872.tar.gz
eclipse.platform.ua-f4c08f9bd21fbd195a786b6e09a49348d3f27872.tar.xz
eclipse.platform.ua-f4c08f9bd21fbd195a786b6e09a49348d3f27872.zip
Bug 362368 - [Accessibility] Search form lacks role="button" andv20111116-1535
violates W3c guidelines
-rw-r--r--org.eclipse.help.webapp/advanced/advanced.jsp4
-rw-r--r--org.eclipse.help.webapp/advanced/searchScoped.jsp4
-rw-r--r--org.eclipse.help.webapp/advanced/searchSimple.jsp4
3 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.help.webapp/advanced/advanced.jsp b/org.eclipse.help.webapp/advanced/advanced.jsp
index dcb1f818d..c54861ca8 100644
--- a/org.eclipse.help.webapp/advanced/advanced.jsp
+++ b/org.eclipse.help.webapp/advanced/advanced.jsp
@@ -1,5 +1,5 @@
<%--
- Copyright (c) 2000, 2010 IBM Corporation and others.
+ Copyright (c) 2000, 2011 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
@@ -218,7 +218,7 @@ for (int i=0; i<tocData.getTocCount(); i++)
<table cellspacing=10 cellpading=0 border=0 align=<%=isRTL?"left":"right"%> style="background:transparent;">
<tr>
<td>
- <input id="searchButton" class='button' type="button" onclick="doAdvancedSearch()" value="<%=ServletResources.getString("SearchLabel", request)%>" id="go" alt="<%=ServletResources.getString("SearchLabel", request)%>" title="<%=ServletResources.getString("SearchLabel", request)%>">
+ <input id="searchButton" class='button' type="submit" role="button" onclick="doAdvancedSearch()" value="<%=ServletResources.getString("SearchLabel", request)%>" id="go" alt="<%=ServletResources.getString("SearchLabel", request)%>" title="<%=ServletResources.getString("SearchLabel", request)%>">
</td>
<td>
<input class='button' type="button" onclick="window.close()" type="button" value="<%=ServletResources.getString("Cancel", request)%>" id="cancel" alt="<%=ServletResources.getString("Cancel", request)%>" title="<%=ServletResources.getString("Cancel", request)%>">
diff --git a/org.eclipse.help.webapp/advanced/searchScoped.jsp b/org.eclipse.help.webapp/advanced/searchScoped.jsp
index 3e569b0d4..5fc6233cf 100644
--- a/org.eclipse.help.webapp/advanced/searchScoped.jsp
+++ b/org.eclipse.help.webapp/advanced/searchScoped.jsp
@@ -1,5 +1,5 @@
<%--
- Copyright (c) 2000, 2010 IBM Corporation and others.
+ Copyright (c) 2000, 2011 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
@@ -300,7 +300,7 @@ function onloadHandler(e)
title="<%=UrlUtil.htmlEncode(ServletResources.getString("expression_label", request))%>">
</td>
<td >
- <input type="button" onclick="this.blur();doSearch()" value="<%=ServletResources.getString("GO", request)%>" id="go" alt="<%=ServletResources.getString("GO", request)%>" title="<%=ServletResources.getString("GO", request)%>">
+ <input type="submit" role="button" onclick="this.blur();doSearch()" value="<%=ServletResources.getString("GO", request)%>" id="go" alt="<%=ServletResources.getString("GO", request)%>" title="<%=ServletResources.getString("GO", request)%>">
<input type="hidden" name="maxHits" value="500" >
</td>
<td nowrap>
diff --git a/org.eclipse.help.webapp/advanced/searchSimple.jsp b/org.eclipse.help.webapp/advanced/searchSimple.jsp
index f83b65966..ccba6ff37 100644
--- a/org.eclipse.help.webapp/advanced/searchSimple.jsp
+++ b/org.eclipse.help.webapp/advanced/searchSimple.jsp
@@ -1,5 +1,5 @@
<%--
- Copyright (c) 2000, 2010 IBM Corporation and others.
+ Copyright (c) 2000, 2011 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
@@ -219,7 +219,7 @@ function onloadHandler(e)
<input type="text" id="searchWord" name="searchWord" value='' size="20" maxlength="256" alt="<%=ServletResources.getString("SearchExpression", request)%>" title="<%=ServletResources.getString("SearchExpression", request)%>">
</td>
<td >
- &nbsp;<input type="button" onclick="this.blur();doSearch()" value="<%=ServletResources.getString("GO", request)%>" id="go" alt="<%=ServletResources.getString("GO", request)%>" title="<%=ServletResources.getString("GO", request)%>">
+ &nbsp;<input type="submit" role="button" onclick="this.blur();doSearch()" value="<%=ServletResources.getString("GO", request)%>" id="go" alt="<%=ServletResources.getString("GO", request)%>" title="<%=ServletResources.getString("GO", request)%>">
<input type="hidden" name="maxHits" value="500" >
</td>
<td nowrap>

Back to the top