@jrpool/kilotest 60.0.7 → 60.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lhm.plugin.json CHANGED
@@ -4423,5 +4423,5 @@
4423
4423
  }
4424
4424
  }
4425
4425
  ],
4426
- "version": "60.0.7"
4426
+ "version": "60.0.8"
4427
4427
  }
package/openapi-3.0.yaml CHANGED
@@ -2,7 +2,7 @@ openapi: 3.0.3
2
2
  info:
3
3
  title: Kilotest API
4
4
  description: 'Kilotest is an ensemble testing and reporting service for front-end web quality. It uses an ensemble of 12 rule engines to test web pages for front-end quality (accessibility, usability, and web standards, including HTML, CSS, ARIA, and WCAG). Kilotest acts as a web server for human users, an MCP server for AI platforms, and an API for programmatic access. With this API you can request that a page be tested or retested, discover available reports, incrementally retrieve facts from a report: from what reports are available, to what issues were reported in one report, to what elements violated one issue, to what diagnoses rule engines gave for one violation.'
5
- version: 60.0.7
5
+ version: 60.0.8
6
6
  license:
7
7
  name: MIT
8
8
  url: https://github.com/jrpool/kilotest/blob/main/LICENSE
package/openapi.yaml CHANGED
@@ -2,7 +2,7 @@ openapi: 3.1.0
2
2
  info:
3
3
  title: Kilotest API
4
4
  description: 'Kilotest is an ensemble testing and reporting service for front-end web quality. It uses an ensemble of 12 rule engines to test web pages for front-end quality (accessibility, usability, and web standards, including HTML, CSS, ARIA, and WCAG). Kilotest acts as a web server for human users, an MCP server for AI platforms, and an API for programmatic access. With this API you can request that a page be tested or retested, discover available reports, incrementally retrieve facts from a report: from what reports are available, to what issues were reported in one report, to what elements violated one issue, to what diagnoses rule engines gave for one violation.'
5
- version: 60.0.7
5
+ version: 60.0.8
6
6
  license:
7
7
  name: MIT
8
8
  identifier: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jrpool/kilotest",
3
- "version": "60.0.7",
3
+ "version": "60.0.8",
4
4
  "description": "Ensemble testing for front-end web quality",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/server.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/jrpool/kilotest",
7
7
  "source": "github"
8
8
  },
9
- "version": "60.0.7",
9
+ "version": "60.0.8",
10
10
  "remotes": [
11
11
  {
12
12
  "type": "streamable-http",
package/style.css CHANGED
@@ -118,6 +118,15 @@ legend {
118
118
  li, p {
119
119
  line-height: 1.5;
120
120
  }
121
+ ol.links li > a, p.links > a, ul.links li > a, ul.nav li > a {
122
+ display: block;
123
+ box-sizing: border-box;
124
+ min-height: 44px;
125
+ min-width: 44px;
126
+ margin-right: 1rem;
127
+ padding-left: 0.25rem;
128
+ padding-top: 0.5rem;
129
+ }
121
130
  p {
122
131
  margin: 0.5rem 0;
123
132
  }
@@ -180,15 +189,6 @@ ul {
180
189
  ul.pseudoTopLevel {
181
190
  list-style: disc;
182
191
  }
183
- ul.links li > a, ul.nav li > a {
184
- display: block;
185
- box-sizing: border-box;
186
- min-height: 44px;
187
- min-width: 44px;
188
- margin-right: 1rem;
189
- padding-left: 0.25rem;
190
- padding-top: 0.5rem;
191
- }
192
192
  ul.nav {
193
193
  padding-inline-start: 0.25rem;
194
194
  }
@@ -165,13 +165,13 @@ const getHistory = async (
165
165
  });
166
166
  // Initialize the lines with a list of the reports, or a statement that there is only one.
167
167
  const lines = history.lines.length > 1
168
- ? [`${margin}<ol>`, ...history.lines, `${margin}</ol>`]
168
+ ? [`${margin}<ol class="links">`, ...history.lines, `${margin}</ol>`]
169
169
  : [`${margin}<p>This is the only available report about the page.</p>`];
170
170
  // If this report is the latest about the page:
171
171
  if (isLatest) {
172
172
  // Add a link to the form for requesting a retest to the lines.
173
173
  lines.push(
174
- `${margin}<p><a href="/requestRetestForm.html/${reportID}">Request a retest</a></p>`
174
+ `${margin}<p class="links"><a href="/requestRetestForm.html/${reportID}">Request a retest</a></p>`
175
175
  );
176
176
  }
177
177
  // Replace the bare list items with the assembled section lines.
@@ -238,7 +238,7 @@ const populateQuery = async (reportID: string, query: Record<string, any>) => {
238
238
  // Add the start of a list item to the lines.
239
239
  detailsLines.push(`${margin} <li>`);
240
240
  // Add a heading summarizing the issue to the lines.
241
- detailsLines.push(`${margin} <h5>${summary}</h5>`);
241
+ detailsLines.push(`${margin} <h3>${summary}</h3>`);
242
242
  // Add the issue facts to the lines.
243
243
  detailsLines.push(
244
244
  ...getIssueFactsLines(report, issueID, `${margin} `, 'pseudoTopLevel')
@@ -246,7 +246,7 @@ const populateQuery = async (reportID: string, query: Record<string, any>) => {
246
246
  // Add the start of a link list to the lines.
247
247
  detailsLines.push(`${margin} <ul class="nav">`);
248
248
  const whereQuestionString = 'Where was the issue found?';
249
- const labelString = `Where was the ${summary} issue found on the ${description} page?`;
249
+ const labelString = `The ${description} page exhibits the ${summary} issue. Where was the issue found?`;
250
250
  const href = `href="/listViolators.html/${issueID}/${reportID}"`;
251
251
  const label = `aria-label="${labelString}"`;
252
252
  const whereLink = `<a ${href} ${label}>${whereQuestionString}</a>`;