aria-ease 6.4.1 → 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/README.md +1 -0
- package/bin/{badgeHelper-BG7W2O7N.js → badgeHelper-JOWO6RQG.js} +1 -1
- package/bin/{chunk-QM2PWPXN.js → chunk-JJEPLK7L.js} +3 -3
- package/{dist/chunk-XLG3MIPQ.js → bin/chunk-TQBS54MM.js} +2 -2
- package/bin/cli.cjs +6 -6
- package/bin/cli.js +3 -3
- package/{dist/contractTestRunnerPlaywright-JXQUUKFO.js → bin/contractTestRunnerPlaywright-D57V4RSU.js} +1 -1
- package/bin/{test-R7VNGK6E.js → test-BIYP2TGX.js} +3 -3
- package/dist/{badgeHelper-KNZFIKXE.js → badgeHelper-RDOMCC6E.js} +3 -3
- package/{bin/chunk-XLG3MIPQ.js → dist/chunk-TQBS54MM.js} +2 -2
- package/{bin/contractTestRunnerPlaywright-JXQUUKFO.js → dist/contractTestRunnerPlaywright-D57V4RSU.js} +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.js +3 -3
- package/dist/src/utils/test/{badgeHelper-RJN4ZB2R.js → badgeHelper-HZKGOPB4.js} +3 -3
- 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 +5 -5
- package/dist/src/utils/test/index.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,6 +105,7 @@ After auditing your project, show the world you care about accessibility! Add a
|
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
**Why add the badge?**
|
|
108
|
+
|
|
108
109
|
- ✅ Shows your commitment to accessibility
|
|
109
110
|
- 🔍 Helps us discover projects using aria-ease
|
|
110
111
|
- 🌟 Promotes accessibility best practices in the community
|
|
@@ -8,19 +8,19 @@ var BADGE_CONFIGS = {
|
|
|
8
8
|
type: "audit",
|
|
9
9
|
fileName: "audited-by-aria-ease.svg",
|
|
10
10
|
label: "Audited by aria-ease",
|
|
11
|
-
markdownUrl: "https://
|
|
11
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/audited-by-aria-ease.svg"
|
|
12
12
|
},
|
|
13
13
|
component: {
|
|
14
14
|
type: "component",
|
|
15
15
|
fileName: "components-tested-aria-ease.svg",
|
|
16
16
|
label: "Components tested: aria-ease",
|
|
17
|
-
markdownUrl: "https://
|
|
17
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/components-tested-aria-ease.svg"
|
|
18
18
|
},
|
|
19
19
|
verified: {
|
|
20
20
|
type: "verified",
|
|
21
21
|
fileName: "verified-by-aria-ease.svg",
|
|
22
22
|
label: "Verified by aria-ease",
|
|
23
|
-
markdownUrl: "https://
|
|
23
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/verified-by-aria-ease.svg"
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
function getBadgeMarkdown(badgeType) {
|
|
@@ -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
|
@@ -127,19 +127,19 @@ var init_badgeHelper = __esm({
|
|
|
127
127
|
type: "audit",
|
|
128
128
|
fileName: "audited-by-aria-ease.svg",
|
|
129
129
|
label: "Audited by aria-ease",
|
|
130
|
-
markdownUrl: "https://
|
|
130
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/audited-by-aria-ease.svg"
|
|
131
131
|
},
|
|
132
132
|
component: {
|
|
133
133
|
type: "component",
|
|
134
134
|
fileName: "components-tested-aria-ease.svg",
|
|
135
135
|
label: "Components tested: aria-ease",
|
|
136
|
-
markdownUrl: "https://
|
|
136
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/components-tested-aria-ease.svg"
|
|
137
137
|
},
|
|
138
138
|
verified: {
|
|
139
139
|
type: "verified",
|
|
140
140
|
fileName: "verified-by-aria-ease.svg",
|
|
141
141
|
label: "Verified by aria-ease",
|
|
142
|
-
markdownUrl: "https://
|
|
142
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/verified-by-aria-ease.svg"
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
}
|
|
@@ -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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
displayBadgeInfo,
|
|
4
4
|
promptAddBadge
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JJEPLK7L.js";
|
|
6
6
|
import "./chunk-I2KLQ2HA.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/cli/cli.ts
|
|
@@ -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(
|
|
@@ -188,7 +188,7 @@ if (typeof window === "undefined") {
|
|
|
188
188
|
}
|
|
189
189
|
if (!error || error.code === 0) {
|
|
190
190
|
try {
|
|
191
|
-
const { displayBadgeInfo, promptAddBadge } = await import("./badgeHelper-
|
|
191
|
+
const { displayBadgeInfo, promptAddBadge } = await import("./badgeHelper-JOWO6RQG.js");
|
|
192
192
|
displayBadgeInfo("component");
|
|
193
193
|
await promptAddBadge("component", process.cwd());
|
|
194
194
|
console.log(chalk.dim("\n" + "\u2500".repeat(60)));
|
|
@@ -10,19 +10,19 @@ var BADGE_CONFIGS = {
|
|
|
10
10
|
type: "audit",
|
|
11
11
|
fileName: "audited-by-aria-ease.svg",
|
|
12
12
|
label: "Audited by aria-ease",
|
|
13
|
-
markdownUrl: "https://
|
|
13
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/audited-by-aria-ease.svg"
|
|
14
14
|
},
|
|
15
15
|
component: {
|
|
16
16
|
type: "component",
|
|
17
17
|
fileName: "components-tested-aria-ease.svg",
|
|
18
18
|
label: "Components tested: aria-ease",
|
|
19
|
-
markdownUrl: "https://
|
|
19
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/components-tested-aria-ease.svg"
|
|
20
20
|
},
|
|
21
21
|
verified: {
|
|
22
22
|
type: "verified",
|
|
23
23
|
fileName: "verified-by-aria-ease.svg",
|
|
24
24
|
label: "Verified by aria-ease",
|
|
25
|
-
markdownUrl: "https://
|
|
25
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/verified-by-aria-ease.svg"
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
function getBadgeMarkdown(badgeType) {
|
|
@@ -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`);
|
|
@@ -1065,19 +1065,19 @@ var init_badgeHelper = __esm({
|
|
|
1065
1065
|
type: "audit",
|
|
1066
1066
|
fileName: "audited-by-aria-ease.svg",
|
|
1067
1067
|
label: "Audited by aria-ease",
|
|
1068
|
-
markdownUrl: "https://
|
|
1068
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/audited-by-aria-ease.svg"
|
|
1069
1069
|
},
|
|
1070
1070
|
component: {
|
|
1071
1071
|
type: "component",
|
|
1072
1072
|
fileName: "components-tested-aria-ease.svg",
|
|
1073
1073
|
label: "Components tested: aria-ease",
|
|
1074
|
-
markdownUrl: "https://
|
|
1074
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/components-tested-aria-ease.svg"
|
|
1075
1075
|
},
|
|
1076
1076
|
verified: {
|
|
1077
1077
|
type: "verified",
|
|
1078
1078
|
fileName: "verified-by-aria-ease.svg",
|
|
1079
1079
|
label: "Verified by aria-ease",
|
|
1080
|
-
markdownUrl: "https://
|
|
1080
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/verified-by-aria-ease.svg"
|
|
1081
1081
|
}
|
|
1082
1082
|
};
|
|
1083
1083
|
}
|
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(
|
|
@@ -1613,7 +1613,7 @@ if (typeof window === "undefined") {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
if (!error || error.code === 0) {
|
|
1615
1615
|
try {
|
|
1616
|
-
const { displayBadgeInfo, promptAddBadge } = await import("./badgeHelper-
|
|
1616
|
+
const { displayBadgeInfo, promptAddBadge } = await import("./badgeHelper-RDOMCC6E.js");
|
|
1617
1617
|
displayBadgeInfo("component");
|
|
1618
1618
|
await promptAddBadge("component", process.cwd());
|
|
1619
1619
|
console.log(chalk.dim("\n" + "\u2500".repeat(60)));
|
|
@@ -9,19 +9,19 @@ var BADGE_CONFIGS = {
|
|
|
9
9
|
type: "audit",
|
|
10
10
|
fileName: "audited-by-aria-ease.svg",
|
|
11
11
|
label: "Audited by aria-ease",
|
|
12
|
-
markdownUrl: "https://
|
|
12
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/audited-by-aria-ease.svg"
|
|
13
13
|
},
|
|
14
14
|
component: {
|
|
15
15
|
type: "component",
|
|
16
16
|
fileName: "components-tested-aria-ease.svg",
|
|
17
17
|
label: "Components tested: aria-ease",
|
|
18
|
-
markdownUrl: "https://
|
|
18
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/components-tested-aria-ease.svg"
|
|
19
19
|
},
|
|
20
20
|
verified: {
|
|
21
21
|
type: "verified",
|
|
22
22
|
fileName: "verified-by-aria-ease.svg",
|
|
23
23
|
label: "Verified by aria-ease",
|
|
24
|
-
markdownUrl: "https://
|
|
24
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/verified-by-aria-ease.svg"
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
function getBadgeMarkdown(badgeType) {
|
|
@@ -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`);
|
|
@@ -1034,19 +1034,19 @@ var init_badgeHelper = __esm({
|
|
|
1034
1034
|
type: "audit",
|
|
1035
1035
|
fileName: "audited-by-aria-ease.svg",
|
|
1036
1036
|
label: "Audited by aria-ease",
|
|
1037
|
-
markdownUrl: "https://
|
|
1037
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/audited-by-aria-ease.svg"
|
|
1038
1038
|
},
|
|
1039
1039
|
component: {
|
|
1040
1040
|
type: "component",
|
|
1041
1041
|
fileName: "components-tested-aria-ease.svg",
|
|
1042
1042
|
label: "Components tested: aria-ease",
|
|
1043
|
-
markdownUrl: "https://
|
|
1043
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/components-tested-aria-ease.svg"
|
|
1044
1044
|
},
|
|
1045
1045
|
verified: {
|
|
1046
1046
|
type: "verified",
|
|
1047
1047
|
fileName: "verified-by-aria-ease.svg",
|
|
1048
1048
|
label: "Verified by aria-ease",
|
|
1049
|
-
markdownUrl: "https://
|
|
1049
|
+
markdownUrl: "https://cdn.jsdelivr.net/gh/aria-ease/aria-ease@main/badges/verified-by-aria-ease.svg"
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
1052
|
}
|
|
@@ -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(
|
|
@@ -180,7 +180,7 @@ if (typeof window === "undefined") {
|
|
|
180
180
|
}
|
|
181
181
|
if (!error || error.code === 0) {
|
|
182
182
|
try {
|
|
183
|
-
const { displayBadgeInfo, promptAddBadge } = await import('./badgeHelper-
|
|
183
|
+
const { displayBadgeInfo, promptAddBadge } = await import('./badgeHelper-HZKGOPB4.js');
|
|
184
184
|
displayBadgeInfo("component");
|
|
185
185
|
await promptAddBadge("component", process.cwd());
|
|
186
186
|
console.log(chalk.dim("\n" + "\u2500".repeat(60)));
|