aria-ease 6.4.2 → 6.4.3
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/bin/{chunk-XLG3MIPQ.js → chunk-TQBS54MM.js} +2 -2
- package/bin/cli.cjs +3 -3
- package/bin/cli.js +2 -2
- package/{dist/contractTestRunnerPlaywright-JXQUUKFO.js → bin/contractTestRunnerPlaywright-D57V4RSU.js} +1 -1
- package/bin/{test-KAQP466X.js → test-BIYP2TGX.js} +2 -2
- package/dist/{chunk-XLG3MIPQ.js → chunk-TQBS54MM.js} +2 -2
- package/{bin/contractTestRunnerPlaywright-JXQUUKFO.js → dist/contractTestRunnerPlaywright-D57V4RSU.js} +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/src/utils/test/{chunk-XLG3MIPQ.js → chunk-TQBS54MM.js} +2 -2
- package/dist/src/utils/test/{contractTestRunnerPlaywright-N77NEY25.js → contractTestRunnerPlaywright-HV4EIRDH.js} +1 -1
- package/dist/src/utils/test/contracts/ComboboxContract.json +1 -1
- package/dist/src/utils/test/index.cjs +2 -2
- package/dist/src/utils/test/index.js +2 -2
- package/package.json +1 -1
|
@@ -186,7 +186,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
186
186
|
`);
|
|
187
187
|
if (totalFailures === 0 && this.skipped === 0 && this.optionalSuggestions === 0) {
|
|
188
188
|
this.log(`\u2705 All ${totalRun} tests passed!`);
|
|
189
|
-
this.log(` ${this.componentName} component meets
|
|
189
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
190
190
|
} else if (totalFailures === 0) {
|
|
191
191
|
this.log(`\u2705 ${totalPasses}/${totalRun} required tests passed`);
|
|
192
192
|
if (this.skipped > 0) {
|
|
@@ -195,7 +195,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
195
195
|
if (this.optionalSuggestions > 0) {
|
|
196
196
|
this.log(`\u{1F4A1} ${this.optionalSuggestions} optional enhancement${this.optionalSuggestions > 1 ? "s" : ""} suggested`);
|
|
197
197
|
}
|
|
198
|
-
this.log(` ${this.componentName} component meets
|
|
198
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
199
199
|
} else {
|
|
200
200
|
this.log(`\u274C ${totalFailures} test${totalFailures > 1 ? "s" : ""} failed`);
|
|
201
201
|
this.log(`\u2705 ${totalPasses} test${totalPasses > 1 ? "s" : ""} passed`);
|
package/bin/cli.cjs
CHANGED
|
@@ -594,7 +594,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
594
594
|
`);
|
|
595
595
|
if (totalFailures === 0 && this.skipped === 0 && this.optionalSuggestions === 0) {
|
|
596
596
|
this.log(`\u2705 All ${totalRun} tests passed!`);
|
|
597
|
-
this.log(` ${this.componentName} component meets
|
|
597
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
598
598
|
} else if (totalFailures === 0) {
|
|
599
599
|
this.log(`\u2705 ${totalPasses}/${totalRun} required tests passed`);
|
|
600
600
|
if (this.skipped > 0) {
|
|
@@ -603,7 +603,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
603
603
|
if (this.optionalSuggestions > 0) {
|
|
604
604
|
this.log(`\u{1F4A1} ${this.optionalSuggestions} optional enhancement${this.optionalSuggestions > 1 ? "s" : ""} suggested`);
|
|
605
605
|
}
|
|
606
|
-
this.log(` ${this.componentName} component meets
|
|
606
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
607
607
|
} else {
|
|
608
608
|
this.log(`\u274C ${totalFailures} test${totalFailures > 1 ? "s" : ""} failed`);
|
|
609
609
|
this.log(`\u2705 ${totalPasses} test${totalPasses > 1 ? "s" : ""} passed`);
|
|
@@ -1770,7 +1770,7 @@ program.command("audit").description("Run axe-core powered accessibility audit o
|
|
|
1770
1770
|
await import_fs_extra3.default.ensureDir(out);
|
|
1771
1771
|
const d = /* @__PURE__ */ new Date();
|
|
1772
1772
|
const pad = (n) => String(n).padStart(2, "0");
|
|
1773
|
-
const timestamp = `${pad(d.getDate())}-${pad(d.getMonth() + 1)}-${d.getFullYear()} ${pad(d.getHours())}
|
|
1773
|
+
const timestamp = `${pad(d.getDate())}-${pad(d.getMonth() + 1)}-${d.getFullYear()} ${pad(d.getHours())}h ${pad(d.getMinutes())}m ${pad(d.getSeconds())}s`;
|
|
1774
1774
|
const fileName = `ariaease-report-${timestamp}.${format2}`;
|
|
1775
1775
|
const filePath = import_path3.default.join(out, fileName);
|
|
1776
1776
|
await import_fs_extra3.default.writeFile(filePath, formatted, "utf-8");
|
package/bin/cli.js
CHANGED
|
@@ -204,7 +204,7 @@ program.command("audit").description("Run axe-core powered accessibility audit o
|
|
|
204
204
|
await fs2.ensureDir(out);
|
|
205
205
|
const d = /* @__PURE__ */ new Date();
|
|
206
206
|
const pad = (n) => String(n).padStart(2, "0");
|
|
207
|
-
const timestamp = `${pad(d.getDate())}-${pad(d.getMonth() + 1)}-${d.getFullYear()} ${pad(d.getHours())}
|
|
207
|
+
const timestamp = `${pad(d.getDate())}-${pad(d.getMonth() + 1)}-${d.getFullYear()} ${pad(d.getHours())}h ${pad(d.getMinutes())}m ${pad(d.getSeconds())}s`;
|
|
208
208
|
const fileName = `ariaease-report-${timestamp}.${format2}`;
|
|
209
209
|
const filePath = path2.join(out, fileName);
|
|
210
210
|
await fs2.writeFile(filePath, formatted, "utf-8");
|
|
@@ -225,7 +225,7 @@ program.command("audit").description("Run axe-core powered accessibility audit o
|
|
|
225
225
|
console.log(chalk.dim("\u2500".repeat(60) + "\n"));
|
|
226
226
|
});
|
|
227
227
|
program.command("test").description("Run core a11y accessibility standard tests on UI components").action(async () => {
|
|
228
|
-
const { runTest } = await import("./test-
|
|
228
|
+
const { runTest } = await import("./test-BIYP2TGX.js");
|
|
229
229
|
runTest();
|
|
230
230
|
});
|
|
231
231
|
program.command("help").description("Display help information").action(() => {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ContractReporter,
|
|
3
3
|
closeSharedBrowser,
|
|
4
4
|
contract_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TQBS54MM.js";
|
|
6
6
|
import "./chunk-I2KLQ2HA.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/test/src/test.ts
|
|
@@ -114,7 +114,7 @@ Error: ${error instanceof Error ? error.message : String(error)}`
|
|
|
114
114
|
const devServerUrl = await checkDevServer(url);
|
|
115
115
|
if (devServerUrl) {
|
|
116
116
|
console.log(`\u{1F3AD} Running Playwright tests on ${devServerUrl}`);
|
|
117
|
-
const { runContractTestsPlaywright } = await import("./contractTestRunnerPlaywright-
|
|
117
|
+
const { runContractTestsPlaywright } = await import("./contractTestRunnerPlaywright-D57V4RSU.js");
|
|
118
118
|
contract = await runContractTestsPlaywright(componentName, devServerUrl);
|
|
119
119
|
} else {
|
|
120
120
|
throw new Error(
|
|
@@ -186,7 +186,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
186
186
|
`);
|
|
187
187
|
if (totalFailures === 0 && this.skipped === 0 && this.optionalSuggestions === 0) {
|
|
188
188
|
this.log(`\u2705 All ${totalRun} tests passed!`);
|
|
189
|
-
this.log(` ${this.componentName} component meets
|
|
189
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
190
190
|
} else if (totalFailures === 0) {
|
|
191
191
|
this.log(`\u2705 ${totalPasses}/${totalRun} required tests passed`);
|
|
192
192
|
if (this.skipped > 0) {
|
|
@@ -195,7 +195,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
195
195
|
if (this.optionalSuggestions > 0) {
|
|
196
196
|
this.log(`\u{1F4A1} ${this.optionalSuggestions} optional enhancement${this.optionalSuggestions > 1 ? "s" : ""} suggested`);
|
|
197
197
|
}
|
|
198
|
-
this.log(` ${this.componentName} component meets
|
|
198
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
199
199
|
} else {
|
|
200
200
|
this.log(`\u274C ${totalFailures} test${totalFailures > 1 ? "s" : ""} failed`);
|
|
201
201
|
this.log(`\u2705 ${totalPasses} test${totalPasses > 1 ? "s" : ""} passed`);
|
package/dist/index.cjs
CHANGED
|
@@ -228,7 +228,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
228
228
|
`);
|
|
229
229
|
if (totalFailures === 0 && this.skipped === 0 && this.optionalSuggestions === 0) {
|
|
230
230
|
this.log(`\u2705 All ${totalRun} tests passed!`);
|
|
231
|
-
this.log(` ${this.componentName} component meets
|
|
231
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
232
232
|
} else if (totalFailures === 0) {
|
|
233
233
|
this.log(`\u2705 ${totalPasses}/${totalRun} required tests passed`);
|
|
234
234
|
if (this.skipped > 0) {
|
|
@@ -237,7 +237,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
237
237
|
if (this.optionalSuggestions > 0) {
|
|
238
238
|
this.log(`\u{1F4A1} ${this.optionalSuggestions} optional enhancement${this.optionalSuggestions > 1 ? "s" : ""} suggested`);
|
|
239
239
|
}
|
|
240
|
-
this.log(` ${this.componentName} component meets
|
|
240
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
241
241
|
} else {
|
|
242
242
|
this.log(`\u274C ${totalFailures} test${totalFailures > 1 ? "s" : ""} failed`);
|
|
243
243
|
this.log(`\u2705 ${totalPasses} test${totalPasses > 1 ? "s" : ""} passed`);
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ContractReporter,
|
|
3
3
|
closeSharedBrowser,
|
|
4
4
|
contract_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TQBS54MM.js";
|
|
6
6
|
import "./chunk-I2KLQ2HA.js";
|
|
7
7
|
|
|
8
8
|
// src/accordion/src/makeAccordionAccessible/makeAccordionAccessible.ts
|
|
@@ -1539,7 +1539,7 @@ Error: ${error instanceof Error ? error.message : String(error)}`
|
|
|
1539
1539
|
const devServerUrl = await checkDevServer(url);
|
|
1540
1540
|
if (devServerUrl) {
|
|
1541
1541
|
console.log(`\u{1F3AD} Running Playwright tests on ${devServerUrl}`);
|
|
1542
|
-
const { runContractTestsPlaywright } = await import("./contractTestRunnerPlaywright-
|
|
1542
|
+
const { runContractTestsPlaywright } = await import("./contractTestRunnerPlaywright-D57V4RSU.js");
|
|
1543
1543
|
contract = await runContractTestsPlaywright(componentName, devServerUrl);
|
|
1544
1544
|
} else {
|
|
1545
1545
|
throw new Error(
|
|
@@ -188,7 +188,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
188
188
|
`);
|
|
189
189
|
if (totalFailures === 0 && this.skipped === 0 && this.optionalSuggestions === 0) {
|
|
190
190
|
this.log(`\u2705 All ${totalRun} tests passed!`);
|
|
191
|
-
this.log(` ${this.componentName} component meets
|
|
191
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
192
192
|
} else if (totalFailures === 0) {
|
|
193
193
|
this.log(`\u2705 ${totalPasses}/${totalRun} required tests passed`);
|
|
194
194
|
if (this.skipped > 0) {
|
|
@@ -197,7 +197,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
197
197
|
if (this.optionalSuggestions > 0) {
|
|
198
198
|
this.log(`\u{1F4A1} ${this.optionalSuggestions} optional enhancement${this.optionalSuggestions > 1 ? "s" : ""} suggested`);
|
|
199
199
|
}
|
|
200
|
-
this.log(` ${this.componentName} component meets
|
|
200
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
201
201
|
} else {
|
|
202
202
|
this.log(`\u274C ${totalFailures} test${totalFailures > 1 ? "s" : ""} failed`);
|
|
203
203
|
this.log(`\u2705 ${totalPasses} test${totalPasses > 1 ? "s" : ""} passed`);
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
]
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
|
-
"description": "
|
|
179
|
+
"description": "Up Arrow navigates to previous option when listbox is open.",
|
|
180
180
|
"action": [
|
|
181
181
|
{ "type": "keypress", "target": "input", "key": "ArrowDown" },
|
|
182
182
|
{ "type": "keypress", "target": "input", "key": "ArrowDown" },
|
|
@@ -225,7 +225,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
225
225
|
`);
|
|
226
226
|
if (totalFailures === 0 && this.skipped === 0 && this.optionalSuggestions === 0) {
|
|
227
227
|
this.log(`\u2705 All ${totalRun} tests passed!`);
|
|
228
|
-
this.log(` ${this.componentName} component meets
|
|
228
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
229
229
|
} else if (totalFailures === 0) {
|
|
230
230
|
this.log(`\u2705 ${totalPasses}/${totalRun} required tests passed`);
|
|
231
231
|
if (this.skipped > 0) {
|
|
@@ -234,7 +234,7 @@ ${"\u2550".repeat(60)}`);
|
|
|
234
234
|
if (this.optionalSuggestions > 0) {
|
|
235
235
|
this.log(`\u{1F4A1} ${this.optionalSuggestions} optional enhancement${this.optionalSuggestions > 1 ? "s" : ""} suggested`);
|
|
236
236
|
}
|
|
237
|
-
this.log(` ${this.componentName} component meets
|
|
237
|
+
this.log(` ${this.componentName} component meets WAI-ARIA expectations for Roles, States, Properties, and Keyboard Interaction \u2713`);
|
|
238
238
|
} else {
|
|
239
239
|
this.log(`\u274C ${totalFailures} test${totalFailures > 1 ? "s" : ""} failed`);
|
|
240
240
|
this.log(`\u2705 ${totalPasses} test${totalPasses > 1 ? "s" : ""} passed`);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { closeSharedBrowser, ContractReporter, contract_default } from './chunk-
|
|
1
|
+
import { closeSharedBrowser, ContractReporter, contract_default } from './chunk-TQBS54MM.js';
|
|
2
2
|
import { axe } from 'jest-axe';
|
|
3
3
|
import fs from 'fs/promises';
|
|
4
4
|
|
|
@@ -106,7 +106,7 @@ Error: ${error instanceof Error ? error.message : String(error)}`
|
|
|
106
106
|
const devServerUrl = await checkDevServer(url);
|
|
107
107
|
if (devServerUrl) {
|
|
108
108
|
console.log(`\u{1F3AD} Running Playwright tests on ${devServerUrl}`);
|
|
109
|
-
const { runContractTestsPlaywright } = await import('./contractTestRunnerPlaywright-
|
|
109
|
+
const { runContractTestsPlaywright } = await import('./contractTestRunnerPlaywright-HV4EIRDH.js');
|
|
110
110
|
contract = await runContractTestsPlaywright(componentName, devServerUrl);
|
|
111
111
|
} else {
|
|
112
112
|
throw new Error(
|