@jrpool/kilotest 60.1.0 → 60.1.1
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 +1 -1
- package/openapi-3.0.yaml +1 -1
- package/openapi.yaml +1 -1
- package/package.json +1 -1
- package/server.json +1 -1
- package/web/listDiagnoses/index.ts +3 -3
- package/web/listViolators/index.ts +1 -1
package/lhm.plugin.json
CHANGED
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.1.
|
|
5
|
+
version: 60.1.1
|
|
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.1.
|
|
5
|
+
version: 60.1.1
|
|
6
6
|
license:
|
|
7
7
|
name: MIT
|
|
8
8
|
identifier: MIT
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -60,9 +60,9 @@ const populateQuery = async (
|
|
|
60
60
|
// If the violator has a linkable text item, add a take-me-there link.
|
|
61
61
|
if (catalogIndex && catalogItem?.textLinkable) {
|
|
62
62
|
const href = getTextFragmentHref(catalogItem.text as string, url);
|
|
63
|
-
const label = `Take me to element ${catalogIndex}
|
|
64
|
-
const link = `<a href="${href}"
|
|
65
|
-
query.takeMeThere = `${margin} <
|
|
63
|
+
const label = `Take me there (to element ${catalogIndex})`;
|
|
64
|
+
const link = `<a href="${href}" aria-label="${label}">Take me there</a>`;
|
|
65
|
+
query.takeMeThere = `${margin} <li>${link}</li>`;
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
query.takeMeThere = '';
|
|
@@ -124,7 +124,7 @@ const populateQuery = async (
|
|
|
124
124
|
// If any lines contain text-fragment links:
|
|
125
125
|
if (takeMeAdviceNeeded) {
|
|
126
126
|
// Include advice about them in the answer.
|
|
127
|
-
query.takeMeThere = '<p><q>Take me there</q> links will open the page
|
|
127
|
+
query.takeMeThere = '<p><q>Take me there</q> links will open the page and try to scroll to the element and highlight it. This does not always succeed.</p>';
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
// Returns a page answering the violators question.
|