update devDependencies, update tests for new validator, fixes for validation issues
[squeep-indie-auther] / src / template / admin-maintenance-html.js
index f57a118b371d396d03c62c6e99c0881f1b786ad4..764b4d32870c06e57f211643a4878f1fcaa2667e 100644 (file)
@@ -16,13 +16,15 @@ function almanacSection(almanac) {
 \t<h2>Almanac</h2>
 \t<table>
 \t\t<thead>
-\t\t\t<th>Event</th>
-\t\t\t<th>Date</th>
+\t\t\t\t<tr>
+\t\t\t\t<th scope="col">Event</th>
+\t\t\t\t<th scope="col">Date</th>
+\t\t\t</tr>
 \t\t</thead>
 \t\t<tbody>
 ${almanac.map((entry) => renderAlmanacRow(entry)).join('\n')}
 \t\t</tbody>
-\t<table>
+\t</table>
 </section>`;
 }
 
@@ -40,14 +42,16 @@ function choresSection(chores) {
 \t<h2>Chores</h2>
 \t<table>
 \t\t<thead>
-\t\t\t<th>Chore</th>
-\t\t\t<th>Frequency</th>
-\t\t\t<th>Next Run</th>
+\t\t\t<tr>
+\t\t\t\t<th scope="col">Chore</th>
+\t\t\t\t<th scope="col">Frequency</th>
+\t\t\t\t<th scope="col">Next Run</th>
+\t\t\t</tr>
 \t\t</thead>
 \t\t<tbody>
 ${Object.entries(chores).map((chore) => renderChoreRow(...chore)).join('\n')}
 \t\t</tbody>
-\t<table>
+\t</table>
 </section>`;
 }