Skip to content

Commit 8628dce

Browse files
vladakahornace
authored andcommitted
add table descriptions
1 parent 0d25be7 commit 8628dce

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

opengrok-web/src/main/webapp/diff.jsp

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ include file="mast.jsp"
106106
+ Util.htmlize(cfg.getPath());
107107
%>
108108
<div id="difftable">
109-
<table class="image">
109+
<table class="image" aria-label="table with old and new image">
110110
<thead>
111111
<tr><th><%= data.getFilename() %> (revision <%= data.getRev(0) %>)</th>
112112
<th><%= data.getFilename() %> (revision <%= data.getRev(1) %>)</th>
@@ -210,7 +210,7 @@ action=download">download diff</a></span><%
210210
<div id="difftable">
211211
<div class="pre"><%
212212
if (type == DiffType.SIDEBYSIDE || type == DiffType.UNIFIED) {
213-
%><table class="plain"><%
213+
%><table class="plain" aria-label="table with old and new content"><%
214214
if (type == DiffType.SIDEBYSIDE) {
215215
%>
216216
<thead><tr>

opengrok-web/src/main/webapp/history.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ document.domReady.push(function() {domReadyHistory();});
212212
</style>
213213
<![endif]-->
214214
<form action="<%= context + Prefix.DIFF_P + uriEncodedName %>">
215-
<table class="src" id="revisions">
215+
<table class="src" id="revisions" aria-label="table of revisions">
216216
<thead>
217217
<tr>
218218
<th>Revision <%

opengrok-web/src/main/webapp/menu.jspf

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ document.domReady.push(function() { domReadyMenu(); });
5959
</script>
6060
<form action="<%= request.getContextPath() %>/search" id="sbox" onsubmit="searchSubmit(this)">
6161
<div id="qtbl">
62-
<table>
62+
<table aria-label="query table">
6363
<%
6464
if (projects.size() != 0) {
6565
%>

opengrok-web/src/main/webapp/search.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ include file="menu.jspf"
226226
<p class="slider"><%= slider %></p><%
227227
}
228228
%>
229-
<table><%
229+
<table aria-label="table of results"><%
230230
Results.prettyPrint(out, searchHelper, start, start + thispage);
231231
%>
232232
</table>

0 commit comments

Comments
 (0)