This is an automated email from the ASF dual-hosted git repository.

brushed pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b80451  2.11.0-M5-git-13 : fixes of bugs reported by sonarcloud.
5b80451 is described below

commit 5b80451457e990611bd7c8941be84b5f1d2426cf
Author: brushed <[email protected]>
AuthorDate: Sat Aug 24 11:34:53 2019 +0200

    2.11.0-M5-git-13 : fixes of bugs reported by sonarcloud.
---
 .../main/webapp/templates/210/AttachmentTab.jsp    | 16 +++----
 .../main/webapp/templates/210/EditGroupContent.jsp | 10 ++--
 .../src/main/webapp/templates/210/EditTemplate.jsp |  8 ++--
 .../src/main/webapp/templates/210/GroupContent.jsp | 12 ++---
 .../src/main/webapp/templates/210/GroupTab.jsp     | 56 +++++++++++-----------
 .../main/webapp/templates/210/NewGroupContent.jsp  |  6 +--
 .../main/webapp/templates/210/UploadTemplate.jsp   |  6 +--
 .../src/main/webapp/templates/210/ViewTemplate.jsp |  6 +--
 .../main/webapp/templates/210/WorkflowContent.jsp  | 30 ++++++------
 .../main/webapp/templates/default/AJAXSearch.jsp   |  4 +-
 .../webapp/templates/default/AttachmentTab.jsp     | 16 +++----
 .../src/main/webapp/templates/default/GroupTab.jsp | 14 +++---
 .../main/webapp/templates/default/InfoContent.jsp  | 32 ++++++-------
 .../webapp/templates/default/PreferencesTab.jsp    |  6 +--
 .../webapp/templates/default/WorkflowContent.jsp   | 20 ++++----
 15 files changed, 121 insertions(+), 121 deletions(-)

diff --git a/jspwiki-war/src/main/webapp/templates/210/AttachmentTab.jsp 
b/jspwiki-war/src/main/webapp/templates/210/AttachmentTab.jsp
index a1c9e05..4f28e8a 100644
--- a/jspwiki-war/src/main/webapp/templates/210/AttachmentTab.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/AttachmentTab.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ taglib uri="http://jspwiki.apache.org/tags"; prefix="wiki" %>
@@ -98,13 +98,13 @@
   <div class="zebra-table"><div class="slimbox-img sortable">
   <table class="wikitable">
     <tr>
-      <th><fmt:message key="info.attachment.type"/></th>
-      <th><fmt:message key="info.attachment.name"/></th>
-      <th><fmt:message key="info.size"/></th>
-      <th><fmt:message key="info.version"/></th>
-      <th><fmt:message key="info.date"/></th>
-      <th><fmt:message key="info.author"/></th>
-      <wiki:Permission permission="delete"><th><fmt:message 
key="info.actions"/></th></wiki:Permission>
+      <th scope="col"><fmt:message key="info.attachment.type"/></th>
+      <th scope="col"><fmt:message key="info.attachment.name"/></th>
+      <th scope="col"><fmt:message key="info.size"/></th>
+      <th scope="col"><fmt:message key="info.version"/></th>
+      <th scope="col"><fmt:message key="info.date"/></th>
+      <th scope="col"><fmt:message key="info.author"/></th>
+      <wiki:Permission permission="delete"><th scope="col"><fmt:message 
key="info.actions"/></th></wiki:Permission>
       <th class="changenote"><fmt:message key="info.changenote"/></th>
     </tr>
 
diff --git a/jspwiki-war/src/main/webapp/templates/210/EditGroupContent.jsp 
b/jspwiki-war/src/main/webapp/templates/210/EditGroupContent.jsp
index 372ec1c..7335f31 100644
--- a/jspwiki-war/src/main/webapp/templates/210/EditGroupContent.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/EditGroupContent.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ taglib uri="http://jspwiki.apache.org/tags"; prefix="wiki" %>
@@ -89,11 +89,11 @@
 
     <table class="wikitable">
     <tr>
-      <th><fmt:message key="group.name"/></th>
+      <th scope="col"><fmt:message key="group.name"/></th>
       <td><%=name%></td>
     </tr>
     <tr>
-      <th><label><fmt:message key="group.members"/></label></th>
+      <th scope="col"><label><fmt:message key="group.members"/></label></th>
       <td>
       <textarea id="members" name="members" rows="10" 
cols="30"><%=TextUtil.replaceEntities(s.toString())%></textarea>
       <div class="formhelp"><fmt:message key="editgroup.memberlist"/></div>
@@ -108,11 +108,11 @@
       <input type="hidden" name="action" value="save" />
   </form>
 
-  <wiki:Permission permission="deleteGroup"> 
+  <wiki:Permission permission="deleteGroup">
   <form action="<wiki:Link format='url' jsp='DeleteGroup.jsp'/>"
          class="wikiform"
             id="deleteGroup"
-        onsubmit="return( confirm('<fmt:message 
key="grp.deletegroup.confirm"/>') 
+        onsubmit="return( confirm('<fmt:message 
key="grp.deletegroup.confirm"/>')
         && Wiki.submitOnce(this) );"
         method="POST" accept-charset="UTF-8">
       <input type="submit" name="ok" value="<fmt:message 
key="actions.deletegroup"/>" />
diff --git a/jspwiki-war/src/main/webapp/templates/210/EditTemplate.jsp 
b/jspwiki-war/src/main/webapp/templates/210/EditTemplate.jsp
index d8bf3a5..38d399d 100644
--- a/jspwiki-war/src/main/webapp/templates/210/EditTemplate.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/EditTemplate.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ taglib uri="http://jspwiki.apache.org/tags"; prefix="wiki" %>
@@ -23,7 +23,7 @@
 <fmt:setBundle basename="templates.default"/>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 
-<html id="top" xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:jspwiki="http://jspwiki.apache.org";>
+<html lang="en" id="top" xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:jspwiki="http://jspwiki.apache.org";>
 
 <head>
   <title>
@@ -58,10 +58,10 @@
       <wiki:Include page="PageActionsBottom.jsp"/>
        </div>
 
-    <wiki:Include page="Favorites.jsp"/> 
+    <wiki:Include page="Favorites.jsp"/>
 
        <div class="clearbox"></div>
-  </div>       
+  </div>
 
   <wiki:Include page="Footer.jsp" />
 
diff --git a/jspwiki-war/src/main/webapp/templates/210/GroupContent.jsp 
b/jspwiki-war/src/main/webapp/templates/210/GroupContent.jsp
index 901d5f5..35b4bfc 100644
--- a/jspwiki-war/src/main/webapp/templates/210/GroupContent.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/GroupContent.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ taglib uri="http://jspwiki.apache.org/tags"; prefix="wiki" %>
@@ -61,7 +61,7 @@
     modifier = group.getModifier();
     if ( group.getLastModified() != null )
     {
-      modified = Preferences.renderDate(WikiContext.findContext( pageContext 
), group.getLastModified(),Preferences.TimeFormat.DATETIME) ; 
+      modified = Preferences.renderDate(WikiContext.findContext( pageContext 
), group.getLastModified(),Preferences.TimeFormat.DATETIME) ;
     }
   }
   name = TextUtil.replaceEntities(name);
@@ -102,7 +102,7 @@
 %>
  <table class="wikitable">
     <tr>
-      <th><fmt:message key="group.name"/></th>
+      <th scope="col"><fmt:message key="group.name"/></th>
       <td>
         <fmt:message key="group.groupintro">
           <fmt:param><em><%=name%></em></fmt:param>
@@ -111,7 +111,7 @@
     </tr>
     <!-- Members -->
     <tr>
-      <th><fmt:message key="group.members"/>
+      <th scope="col"><fmt:message key="group.members"/>
       </th>
       <td><%
             for ( int i = 0; i < members.length; i++ )
@@ -146,11 +146,11 @@
   }
 %>
 
-  <wiki:Permission permission="deleteGroup"> 
+  <wiki:Permission permission="deleteGroup">
   <form action="<wiki:Link format='url' jsp='DeleteGroup.jsp'/>"
          class="wikiform"
             id="deleteGroup"
-        onsubmit="return( confirm('<fmt:message 
key="grp.deletegroup.confirm"/>') 
+        onsubmit="return( confirm('<fmt:message 
key="grp.deletegroup.confirm"/>')
         && Wiki.submitOnce(this) );"
         method="POST" accept-charset="UTF-8">
       <input type="submit" name="ok" value="<fmt:message 
key="actions.deletegroup"/>" />
diff --git a/jspwiki-war/src/main/webapp/templates/210/GroupTab.jsp 
b/jspwiki-war/src/main/webapp/templates/210/GroupTab.jsp
index b74fc6e..d6fc9a4 100644
--- a/jspwiki-war/src/main/webapp/templates/210/GroupTab.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/GroupTab.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ taglib uri="http://jspwiki.apache.org/tags"; prefix="wiki" %>
@@ -40,30 +40,30 @@
     java.util.Arrays.sort( m, new PrincipalComparator() );
 
     String delim = "\", \"";
-      
+
     StringBuffer ss = new StringBuffer();
     MessageFormat mf = null;
     Object[] args = null;
-      
+
       ss.append( "WikiGroup.putGroup( \"" );
-      
+
       ss.append( name );
       ss.append( delim );
-      
+
       for( int j=0; j < m.length; j++ ) { ss.append( 
m[j].getName().trim()+"\\n" ); }
-      
+
       ss.append( delim );
       mf = new MessageFormat(LocaleSupport.getLocalizedMessage(pageContext, 
"grp.createdon") );
       args = new Object[]{(group.getCreated()==null) ? "" : 
Preferences.renderDate(WikiContext.findContext( pageContext ), 
group.getCreated(),Preferences.TimeFormat.DATETIME), group.getCreator()};
       ss.append( mf.format( args ) );
-      
+
       mf = new MessageFormat(LocaleSupport.getLocalizedMessage(pageContext, 
"grp.lastmodified") );
       args = new Object[]{(group.getLastModified()==null) ? "" : 
Preferences.renderDate(WikiContext.findContext( pageContext ), 
group.getLastModified(),Preferences.TimeFormat.DATETIME), group.getModifier()};
       ss.append( mf.format( args ) );
-      
+
       ss.append( "\", " );
       ss.append( ( cursor ) ? "true" : "false" );
-      
+
       ss.append( ");\n" );
 
 
@@ -75,24 +75,24 @@
 
 <table id='wikigroups' class='wikitable' >
 <tr>
-  <th><fmt:message key="group.name" /></th>
-  <th><fmt:message key="group.members" /></th>
+  <th scope="col"><fmt:message key="group.name" /></th>
+  <th scope="col"><fmt:message key="group.members" /></th>
 </tr>
 <tr>
   <td id="groupnames" rowspan="2">
-    <div id="grouptemplate" 
-            style="display:none; " 
+    <div id="grouptemplate"
+            style="display:none; "
             title='<fmt:message key="grp.groupnames.title"/>'
           onclick="WikiGroup.toggle(); WikiGroup.onMouseOverGroup(this);"
       onmouseover="WikiGroup.onMouseOverGroup(this);" ></div>
 
     <wiki:Permission permission="createGroups">
-    <div id="groupfield" 
+    <div id="groupfield"
       onmouseover="WikiGroup.onMouseOverGroup(this);" >
-      <input type="text" size="30" 
+      <input type="text" size="30"
                id="newgroup"
             value='<fmt:message key="grp.newgroupname"/>'
-           onblur="if( this.value == '' ) { this.value = this.defaultValue; }; 
" 
+           onblur="if( this.value == '' ) { this.value = this.defaultValue; }; 
"
           onfocus="if( this.value == this.defaultValue ) { this.value = ''; 
WikiGroup.onClickNew(); }; "/>
     </div>
     </wiki:Permission>
@@ -102,39 +102,39 @@
     <textarea rows="8" cols="30" disabled="disabled"
               name="membersfield" id="membersfield" ></textarea>
     </div>
-    <form action="<wiki:Link format='url' jsp='Group.jsp'/>" 
-              id="groupForm" 
+    <form action="<wiki:Link format='url' jsp='Group.jsp'/>"
+              id="groupForm"
           method="post" accept-charset="<wiki:ContentEncoding />" >
       <div>
       <input type="hidden" name="group"   value="" />
       <input type="hidden" name="members" value="" />
       <input type="hidden" name="action"  value="save" />
       <input type="button" disabled="disabled"
-             name="saveButton" id="saveButton" 
-            value='<fmt:message key="grp.savegroup"/>' 
+             name="saveButton" id="saveButton"
+            value='<fmt:message key="grp.savegroup"/>'
           onclick="WikiGroup.onSubmit( this.form, '<wiki:Link format='url' 
jsp='EditGroup.jsp' />' );" /></div>
 
       <wiki:Permission permission="createGroups">
       <div>
-      <input type="button" disabled="disabled"  
+      <input type="button" disabled="disabled"
              name="createButton" id="createButton"
-            value='<fmt:message key="grp.savenewgroup"/>' 
+            value='<fmt:message key="grp.savenewgroup"/>'
             style="display:none; "
           onclick="WikiGroup.onSubmitNew( this.form, '<wiki:Link format='url' 
jsp='NewGroup.jsp' />' );" /></div>
       </wiki:Permission>
 
       <div>
       <input type="button" disabled="disabled"
-             name="cancelButton" id="cancelButton" 
-            value='<fmt:message key="grp.cancel"/>' 
+             name="cancelButton" id="cancelButton"
+            value='<fmt:message key="grp.cancel"/>'
           onclick="WikiGroup.toggle();" /></div>
 
       <wiki:Permission permission="deleteGroup">
       <div>
-      <input type="button" disabled="disabled" 
+      <input type="button" disabled="disabled"
              name="deleteButton" id="deleteButton"
-            value='<fmt:message key="grp.deletegroup"/>' 
-          onclick="confirm( '<fmt:message key="grp.deletegroup.confirm"/>' ) 
+            value='<fmt:message key="grp.deletegroup"/>'
+          onclick="confirm( '<fmt:message key="grp.deletegroup.confirm"/>' )
                 && WikiGroup.onSubmit( this.form, '<wiki:Link format='url' 
jsp='DeleteGroup.jsp' />' );" /></div>
       </wiki:Permission>
     </form>
@@ -155,7 +155,7 @@
 <%
   String groupname = request.getParameter( "group" );
 %>
- 
+
 <script type="text/javascript">//<![CDATA[
 <%
   WikiContext c = WikiContext.findContext( pageContext );
diff --git a/jspwiki-war/src/main/webapp/templates/210/NewGroupContent.jsp 
b/jspwiki-war/src/main/webapp/templates/210/NewGroupContent.jsp
index d3d4934..6008739 100644
--- a/jspwiki-war/src/main/webapp/templates/210/NewGroupContent.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/NewGroupContent.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ taglib uri="http://jspwiki.apache.org/tags"; prefix="wiki" %>
@@ -71,7 +71,7 @@
   <table class="wikitable">
     <!-- Name -->
     <tr>
-      <th><label><fmt:message key="newgroup.name"/></label></th>
+      <th scope="row"><label><fmt:message key="newgroup.name"/></label></th>
       <td><input type="text" name="group" size="30" value="<%=name%>" />
       <div class="formhelp">
         <fmt:message key="newgroup.name.description"/>
@@ -89,7 +89,7 @@
       }
     %>
     <tr>
-      <th><label><fmt:message key="group.members"/></label></th>
+      <th scope="row"><label><fmt:message key="group.members"/></label></th>
       <td><textarea id="members" name="members" rows="20" 
cols="40"><%=TextUtil.replaceEntities(s.toString())%></textarea>
       <div class="formhelp">
         <fmt:message key="newgroup.members.description"/>
diff --git a/jspwiki-war/src/main/webapp/templates/210/UploadTemplate.jsp 
b/jspwiki-war/src/main/webapp/templates/210/UploadTemplate.jsp
index 2934527..7df18fb 100644
--- a/jspwiki-war/src/main/webapp/templates/210/UploadTemplate.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/UploadTemplate.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ taglib uri="http://jspwiki.apache.org/tags"; prefix="wiki" %>
@@ -32,7 +32,7 @@
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 
-<html id="top" xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:jspwiki="http://jspwiki.apache.org";>
+<html lang="en" id="top" xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:jspwiki="http://jspwiki.apache.org";>
 
 <head>
   <title><fmt:message key="upload.title"><fmt:param><wiki:Variable 
var="applicationname"/></fmt:param></fmt:message></title>
@@ -56,7 +56,7 @@
                             url="<%=c.getURL(WikiContext.VIEW, 
c.getPage().getName())%>"
               accesskey="v" >
         </wiki:Tab>
-        
+
         <wiki:PageExists>
         <wiki:Tab id="attachments" title="<%= attTitle %>" >
           <wiki:Include page="AttachmentTab.jsp"/>
diff --git a/jspwiki-war/src/main/webapp/templates/210/ViewTemplate.jsp 
b/jspwiki-war/src/main/webapp/templates/210/ViewTemplate.jsp
index 5081a1d..ce15ff5 100644
--- a/jspwiki-war/src/main/webapp/templates/210/ViewTemplate.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/ViewTemplate.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ taglib uri="http://jspwiki.apache.org/tags"; prefix="wiki" %>
@@ -23,7 +23,7 @@
 <fmt:setBundle basename="templates.default"/>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 
-<html id="top" xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:jspwiki="http://jspwiki.apache.org";>
+<html lang="en" id="top" xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:jspwiki="http://jspwiki.apache.org";>
 
 <head>
   <title>
@@ -47,7 +47,7 @@
 <body class="view">
 
 <div id="wikibody" class="${prefs.Orientation}">
- 
+
   <wiki:Include page="Header.jsp" />
 
   <div id="content">
diff --git a/jspwiki-war/src/main/webapp/templates/210/WorkflowContent.jsp 
b/jspwiki-war/src/main/webapp/templates/210/WorkflowContent.jsp
index 9799b74..a8eb7be 100644
--- a/jspwiki-war/src/main/webapp/templates/210/WorkflowContent.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/WorkflowContent.jsp
@@ -14,7 +14,7 @@
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
-    under the License.  
+    under the License.
 --%>
 
 <%@ page errorPage="/Error.jsp" %>
@@ -26,7 +26,7 @@
 <fmt:setLocale value="${prefs.Language}" />
 <fmt:setBundle basename="templates.default"/>
 <script language="JavaScript">
-  function SubmitOutcomeIfSelected(selectId) 
+  function SubmitOutcomeIfSelected(selectId)
   {
     if ( selectId.selectedIndex > 0 )
     {
@@ -61,11 +61,11 @@
   </div>
   <table class="wikitable">
     <thead>
-      <th width="5%"  align="center"><fmt:message key="workflow.id"/></th>
-      <th width="45%" align="left"><fmt:message key="workflow.item"/></th>
-      <th width="15%" align="left"><fmt:message key="workflow.actions"/></th>
-      <th width="15%" align="left"><fmt:message key="workflow.requester"/></th>
-      <th width="20%" align="left"><fmt:message key="workflow.startTime"/></th>
+      <th scope="col" width="5%"  align="center"><fmt:message 
key="workflow.id"/></th>
+      <th scope="col" width="45%" align="left"><fmt:message 
key="workflow.item"/></th>
+      <th scope="col" width="15%" align="left"><fmt:message 
key="workflow.actions"/></th>
+      <th scope="col" width="15%" align="left"><fmt:message 
key="workflow.requester"/></th>
+      <th scope="col" width="20%" align="left"><fmt:message 
key="workflow.startTime"/></th>
     </thead>
     <tbody>
       <% i = 1; %>
@@ -84,7 +84,7 @@
           </td>
           <!-- Possible actions (outcomes) -->
           <td align="left">
-            <form id="<c:out value='decision.${decision.id}'/>" 
+            <form id="<c:out value='decision.${decision.id}'/>"
               action="<wiki:Link jsp='Workflow.jsp' format='url'/>" 
method="POST" accept-charset="UTF-8">
               <input type="hidden" name="action" value="decide" />
               <input type="hidden" name="id" value="<c:out 
value='${decision.id}' />" />
@@ -107,7 +107,7 @@
           <tr class="<%=evenOdd%>" class="hideDiv">
             <td>&nbsp;</td>
             <td colspan="4" class="split">
-              <a href="#" 
+              <a href="#"
                 title="<fmt:message key='workflow.details.title' />"
               onclick="$('decision.<c:out 
value="${decision.workflow.id}"/>').toggle();" >
                 <fmt:message key="workflow.details" />
@@ -121,7 +121,7 @@
             </td>
           </tr>
         </c:if>
-        
+
         <% i++; %>
       </c:forEach>
     </tbody>
@@ -143,11 +143,11 @@
   </div>
   <table class="wikitable">
     <thead>
-      <th width="5%"  align="center"><fmt:message key="workflow.id"/></th>
-      <th width="45%" align="left"><fmt:message key="workflow.item"/></th>
-      <th width="15%" align="left"><fmt:message key="workflow.actions"/></th>
-      <th width="15%" align="left"><fmt:message key="workflow.actor"/></th>
-      <th width="20%" align="left"><fmt:message key="workflow.startTime"/></th>
+      <th scope="col" width="5%"  align="center"><fmt:message 
key="workflow.id"/></th>
+      <th scope="col" width="45%" align="left"><fmt:message 
key="workflow.item"/></th>
+      <th scope="col" width="15%" align="left"><fmt:message 
key="workflow.actions"/></th>
+      <th scope="col" width="15%" align="left"><fmt:message 
key="workflow.actor"/></th>
+      <th scope="col" width="20%" align="left"><fmt:message 
key="workflow.startTime"/></th>
     </thead>
     <% i = 1; %>
     <tbody>
diff --git a/jspwiki-war/src/main/webapp/templates/default/AJAXSearch.jsp 
b/jspwiki-war/src/main/webapp/templates/default/AJAXSearch.jsp
index 0c8f553..12c94f2 100644
--- a/jspwiki-war/src/main/webapp/templates/default/AJAXSearch.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/AJAXSearch.jsp
@@ -129,8 +129,8 @@
     <table class="wikitable  table-striped" >
 
       <tr>
-         <th align="left"><fmt:message key="find.results.page"/></th>
-         <th align="left"><fmt:message key="find.results.score"/></th>
+         <th scope="col" align="left"><fmt:message 
key="find.results.page"/></th>
+         <th scope="col" align="left"><fmt:message 
key="find.results.score"/></th>
       </tr>
 
       <wiki:SearchResultIterator id="searchref" start="${param.start}" 
maxItems="<%=maxitems%>">
diff --git a/jspwiki-war/src/main/webapp/templates/default/AttachmentTab.jsp 
b/jspwiki-war/src/main/webapp/templates/default/AttachmentTab.jsp
index dd61fbe..5e77cf4 100644
--- a/jspwiki-war/src/main/webapp/templates/default/AttachmentTab.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/AttachmentTab.jsp
@@ -104,14 +104,14 @@
   <div class="slimbox-attachments table-filter-striped-sort-condensed">
   <table class="table">
     <tr>
-      <th><fmt:message key="info.attachment.name"/></th>
-      <th><fmt:message key="info.version"/></th>
-      <th><fmt:message key="info.date"/></th>
-      <th><fmt:message key="info.size"/></th>
-      <th><fmt:message key="info.attachment.type"/></th>
-      <th><fmt:message key="info.author"/></th>
-      <th><fmt:message key="info.actions"/></th>
-      <th><fmt:message key="info.changenote"/></th>
+      <th scope="col"><fmt:message key="info.attachment.name"/></th>
+      <th scope="col"><fmt:message key="info.version"/></th>
+      <th scope="col"><fmt:message key="info.date"/></th>
+      <th scope="col"><fmt:message key="info.size"/></th>
+      <th scope="col"><fmt:message key="info.attachment.type"/></th>
+      <th scope="col"><fmt:message key="info.author"/></th>
+      <th scope="col"><fmt:message key="info.actions"/></th>
+      <th scope="col"><fmt:message key="info.changenote"/></th>
     </tr>
 
     <wiki:AttachmentsIterator id="att">
diff --git a/jspwiki-war/src/main/webapp/templates/default/GroupTab.jsp 
b/jspwiki-war/src/main/webapp/templates/default/GroupTab.jsp
index 3fb4984..a935fa3 100644
--- a/jspwiki-war/src/main/webapp/templates/default/GroupTab.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/GroupTab.jsp
@@ -110,13 +110,13 @@
 <div class="table-filter-sort-condensed-striped">
   <table class="table">
     <thead>
-      <th><fmt:message key="group.name"/></th>
-      <th><fmt:message key="group.members"/></th>
-      <th><fmt:message key="group.created"/></th>
-      <th><fmt:message key="group.thecreator"/></th>
-      <th><fmt:message key="group.modified"/></th>
-      <th><fmt:message key="group.themodifier"/></th>
-      <th><fmt:message key="group.actions"/></th>
+      <th scope="col"><fmt:message key="group.name"/></th>
+      <th scope="col"><fmt:message key="group.members"/></th>
+      <th scope="col"><fmt:message key="group.created"/></th>
+      <th scope="col"><fmt:message key="group.thecreator"/></th>
+      <th scope="col"><fmt:message key="group.modified"/></th>
+      <th scope="col"><fmt:message key="group.themodifier"/></th>
+      <th scope="col"><fmt:message key="group.actions"/></th>
     </thead>
     <tbody>
     <%
diff --git a/jspwiki-war/src/main/webapp/templates/default/InfoContent.jsp 
b/jspwiki-war/src/main/webapp/templates/default/InfoContent.jsp
index cc14d6e..2af3af9 100644
--- a/jspwiki-war/src/main/webapp/templates/default/InfoContent.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/InfoContent.jsp
@@ -165,12 +165,12 @@
     <div class="table-filter-sort-condensed-striped">
     <table class="table" >
       <tr>
-        <th><fmt:message key="info.version"/></th>
-        <th><fmt:message key="info.date"/></th>
-        <th><fmt:message key="info.size"/></th>
-        <th><fmt:message key="info.author"/></th>
-        <th><fmt:message key="info.changes"/></th>
-        <th><fmt:message key="info.changenote"/></th>
+        <th scope="col"><fmt:message key="info.version"/></th>
+        <th scope="col"><fmt:message key="info.date"/></th>
+        <th scope="col"><fmt:message key="info.size"/></th>
+        <th scope="col"><fmt:message key="info.author"/></th>
+        <th scope="col"><fmt:message key="info.changes"/></th>
+        <th scope="col"><fmt:message key="info.changenote"/></th>
       </tr>
 
       <wiki:HistoryIterator id="currentPage">
@@ -217,8 +217,8 @@
     <h4 id="page-refs"><fmt:message key="info.tab.links" /></h4>
     <table class="table">
       <tr>
-      <th><fmt:message key="info.tab.incoming" /></th>
-      <th><fmt:message key="info.tab.outgoing" /></th>
+      <th scope="col"><fmt:message key="info.tab.incoming" /></th>
+      <th scope="col"><fmt:message key="info.tab.outgoing" /></th>
       </tr>
       <tr>
       <td>
@@ -323,18 +323,18 @@
   <div class="slimbox-attachments table-filter-sort-condensed-striped">
   <table class="table">
     <tr>
-      <th><fmt:message key="info.attachment.name"/></th>
-      <th><fmt:message key="info.version"/></th>
-      <th><fmt:message key="info.date"/></th>
-      <th><fmt:message key="info.size"/></th>
-      <th><fmt:message key="info.attachment.type"/></th>
-      <th><fmt:message key="info.author"/></th>
+      <th scope="col"><fmt:message key="info.attachment.name"/></th>
+      <th scope="col"><fmt:message key="info.version"/></th>
+      <th scope="col"><fmt:message key="info.date"/></th>
+      <th scope="col"><fmt:message key="info.size"/></th>
+      <th scope="col"><fmt:message key="info.attachment.type"/></th>
+      <th scope="col"><fmt:message key="info.author"/></th>
       <%--
       <wiki:Permission permission="upload">
-         <th><fmt:message key="info.actions"/></th>
+         <th scope="col"><fmt:message key="info.actions"/></th>
       </wiki:Permission>
       --%>
-      <th><fmt:message key="info.changenote"/></th>
+      <th scope="col"><fmt:message key="info.changenote"/></th>
     </tr>
 
     <wiki:HistoryIterator id="att"><%-- <wiki:AttachmentsIterator id="att"> 
--%>
diff --git a/jspwiki-war/src/main/webapp/templates/default/PreferencesTab.jsp 
b/jspwiki-war/src/main/webapp/templates/default/PreferencesTab.jsp
index 7ab41a2..dadc433 100644
--- a/jspwiki-war/src/main/webapp/templates/default/PreferencesTab.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/PreferencesTab.jsp
@@ -214,9 +214,9 @@
     <label class="control-label form-col-20" 
style="vertical-align:top;"><fmt:message key="prefs.user.pagecookies"/></label>
     <table class="wikitable" style="display:inline-block;">
     <tr>
-      <th><fmt:message key="prefs.user.pagecookies.type"/></th>
-      <th><fmt:message key="prefs.user.pagecookies.page"/></th>
-      <th><fmt:message key="prefs.user.pagecookies.actions"/></th>
+      <th scope="col"><fmt:message key="prefs.user.pagecookies.type"/></th>
+      <th scope="col"><fmt:message key="prefs.user.pagecookies.page"/></th>
+      <th scope="col"><fmt:message key="prefs.user.pagecookies.actions"/></th>
     </tr>
     <c:forEach var="aCookie" items="${pageContext.request.cookies}" >
       <c:if test="${fn:startsWith(aCookie.name,'JSPWiki.') }">
diff --git a/jspwiki-war/src/main/webapp/templates/default/WorkflowContent.jsp 
b/jspwiki-war/src/main/webapp/templates/default/WorkflowContent.jsp
index d087872..1ed3c8a 100644
--- a/jspwiki-war/src/main/webapp/templates/default/WorkflowContent.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/WorkflowContent.jsp
@@ -49,11 +49,11 @@
 
   <table class="table table-striped table-condensed">
     <thead><%-- 5/45/15/15/20--%>
-      <th><fmt:message key="workflow.id"/></th>
-      <th><fmt:message key="workflow.item"/></th>
-      <th><fmt:message key="workflow.requester"/></th>
-      <th><fmt:message key="workflow.startTime"/></th>
-      <th><fmt:message key="workflow.actions"/></th>
+      <th scope="col"><fmt:message key="workflow.id"/></th>
+      <th scope="col"><fmt:message key="workflow.item"/></th>
+      <th scope="col"><fmt:message key="workflow.requester"/></th>
+      <th scope="col"><fmt:message key="workflow.startTime"/></th>
+      <th scope="col"><fmt:message key="workflow.actions"/></th>
     </thead>
     <tbody>
       <c:forEach var="decision" items="${decisions}">
@@ -129,11 +129,11 @@
 
   <table class="table">
     <thead>
-      <th><fmt:message key="workflow.id"/></th>
-      <th><fmt:message key="workflow.item"/></th>
-      <th><fmt:message key="workflow.actor"/></th>
-      <th><fmt:message key="workflow.startTime"/></th>
-      <th><fmt:message key="workflow.actions"/></th>
+      <th scope="col"><fmt:message key="workflow.id"/></th>
+      <th scope="col"><fmt:message key="workflow.item"/></th>
+      <th scope="col"><fmt:message key="workflow.actor"/></th>
+      <th scope="col"><fmt:message key="workflow.startTime"/></th>
+      <th scope="col"><fmt:message key="workflow.actions"/></th>
     </thead>
     <tbody>
       <c:forEach var="workflow" items="${workflows}">

Reply via email to