Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaustin2011-11-29 16:52:30 +0000
committercaustin2011-11-29 16:52:30 +0000
commit2772cf723d8ba3c665c2cbf23e68e6cda84d0fbe (patch)
tree34a44e317613a684920f8737d738a938ee35509b
parent811dbbc03001f9c28c194115601995e5739f2a08 (diff)
downloadeclipse.platform.ua-2772cf723d8ba3c665c2cbf23e68e6cda84d0fbe.tar.gz
eclipse.platform.ua-2772cf723d8ba3c665c2cbf23e68e6cda84d0fbe.tar.xz
eclipse.platform.ua-2772cf723d8ba3c665c2cbf23e68e6cda84d0fbe.zip
Bug 362364 - [Accessibility] Eclipse TOC lacks WAI-ARIA landmarks for
search and fails w3C
-rw-r--r--org.eclipse.help.webapp/advanced/advanced.jsp4
-rw-r--r--org.eclipse.help.webapp/advanced/quickSearch.jsp4
-rw-r--r--org.eclipse.help.webapp/advanced/searchScoped.jsp4
-rw-r--r--org.eclipse.help.webapp/advanced/searchSimple.jsp4
4 files changed, 10 insertions, 6 deletions
diff --git a/org.eclipse.help.webapp/advanced/advanced.jsp b/org.eclipse.help.webapp/advanced/advanced.jsp
index c54861ca8..de2429b3a 100644
--- a/org.eclipse.help.webapp/advanced/advanced.jsp
+++ b/org.eclipse.help.webapp/advanced/advanced.jsp
@@ -182,8 +182,8 @@ function onloadHandler()
<body dir="<%=direction%>" onload="onloadHandler()">
<form name="searchForm" onsubmit="doAdvancedSearch()">
-<div style="overflow:auto;height:250px;">
- <table id="searchTable" width="100%" cellspacing=0 cellpading=0 border=0 align=center >
+<div style="overflow:auto;height:250px;" role="search">
+ <table id="searchTable" width="100%" cellspacing=0 cellpading=0 border=0 align=center role="presentation">
<tr><td style="padding:0px 10px;"><label for="searchWord"><%=ServletResources.getString("SearchExpression", request)%></label>
</td></tr>
<tr><td style="padding:0px 10px;"><input type="text" id="searchWord" name="searchWord" value="<%=UrlUtil.htmlEncode(data.getSearchWord())%>" maxlength=256 alt="<%=ServletResources.getString("SearchExpression", request)%>" title="<%=ServletResources.getString("SearchExpression", request)%>">
diff --git a/org.eclipse.help.webapp/advanced/quickSearch.jsp b/org.eclipse.help.webapp/advanced/quickSearch.jsp
index 2ad4bfb06..ccae09bce 100644
--- a/org.eclipse.help.webapp/advanced/quickSearch.jsp
+++ b/org.eclipse.help.webapp/advanced/quickSearch.jsp
@@ -1,5 +1,5 @@
<%--
- Copyright (c) 2009, 2010 IBM Corporation and others.
+ Copyright (c) 2009, 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
@@ -129,7 +129,7 @@ function doQuickSearch(){
<body dir="<%=direction%>" onload="onloadHandler()" >
<form onsubmit="doQuickSearch();return false;">
- <div id="typeinContainer" >
+ <div id="typeinContainer" role="search">
<label id="searchLabel"
for="searchWord"
accesskey="<%=ServletResources.getAccessKey("SearchExpressionColon", request)%>">
diff --git a/org.eclipse.help.webapp/advanced/searchScoped.jsp b/org.eclipse.help.webapp/advanced/searchScoped.jsp
index 5fc6233cf..1413ee821 100644
--- a/org.eclipse.help.webapp/advanced/searchScoped.jsp
+++ b/org.eclipse.help.webapp/advanced/searchScoped.jsp
@@ -287,7 +287,8 @@ function onloadHandler(e)
<body dir="<%=direction%>" onload="onloadHandler()" onunload="closeAdvanced()">
<form name="searchForm" onsubmit="doSearch()">
- <table id="searchTable" align="<%=isRTL?"right":"left"%>" valign="middle" cellspacing="0" cellpadding="0" border="0">
+ <div role="search">
+ <table id="searchTable" align="<%=isRTL?"right":"left"%>" valign="middle" cellspacing="0" cellpadding="0" border="0" role="presentation">
<tr nowrap valign="middle">
<td <%=isRTL?"nowrap":""%> id="searchTD">
<label id="searchLabel" for="searchWord" accesskey="<%=ServletResources.getAccessKey("SearchLabel", request)%>">
@@ -313,6 +314,7 @@ function onloadHandler(e)
</tr>
</table>
+ </div>
</form>
</body>
diff --git a/org.eclipse.help.webapp/advanced/searchSimple.jsp b/org.eclipse.help.webapp/advanced/searchSimple.jsp
index ccba6ff37..ae10707e7 100644
--- a/org.eclipse.help.webapp/advanced/searchSimple.jsp
+++ b/org.eclipse.help.webapp/advanced/searchSimple.jsp
@@ -208,7 +208,8 @@ function onloadHandler(e)
<body dir="<%=direction%>" onload="onloadHandler()" onunload="closeAdvanced()">
<form name="searchForm" onsubmit="doSearch()">
- <table id="searchTable" align="<%=isRTL?"right":"left"%>" valign="middle" cellspacing="0" cellpadding="0" border="0">
+ <div role="search">
+ <table id="searchTable" align="<%=isRTL?"right":"left"%>" valign="middle" cellspacing="0" cellpadding="0" border="0" role="presentation">
<tr nowrap valign="middle">
<td <%=isRTL?"nowrap":""%>>
<label id="searchLabel" for="searchWord" accesskey="<%=ServletResources.getAccessKey("SearchLabel", request)%>">
@@ -228,6 +229,7 @@ function onloadHandler(e)
</tr>
</table>
+ </div>
</form>
</body>

Back to the top