polish(web): hero h1, JP cursor labels, sitemap cleanup #21
Annotations
3 errors, 1 warning, and 1 notice
|
test
Process completed with exit code 1.
|
|
tests/e2e/a11y.spec.ts:16:3 › axe a11y › homepage with prefers-reduced-motion is axe-clean:
web/tests/e2e/a11y.spec.ts#L25
1) tests/e2e/a11y.spec.ts:16:3 › axe a11y › homepage with prefers-reduced-motion is axe-clean ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 58
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
+ "help": "Elements must meet minimum color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast?application=playwright",
+ "id": "color-contrast",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f0ece3",
+ "contrastRatio": 2.23,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#a89f88",
+ "fontSize": "7.5pt (10px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 2.23 (foreground color: #a89f88, background color: #f0ece3, font size: 7.5pt (10px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<a href=\"#problem\" class=\"hero-stage__btn\">Read the case</a>",
+ "target": Array [
+ ".hero-stage__btn[href$=\"#problem\"]",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 2.23 (foreground color: #a89f88, background color: #f0ece3, font size: 7.5pt (10px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<span>Scroll</span>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ ".scroll-hint > span:nth-child(1)",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.color",
+ "wcag2aa",
+ "wcag143",
+ "TTv5",
+ "TT13.c",
+ "EN-301-549",
+ "EN-9.1.4.3",
+ "ACT",
+ "RGAAv4",
+ "RGAA-3.2.1",
+ ],
+ },
+ ]
23 | .withTags(["wcag2a", "wcag2aa", "wcag21aa"])
24 | .analyze();
> 25 | expect(results.violations).toEqual([]);
| ^
26 | } finally {
27 | await context.close();
28 | }
at /home/runner/work/YuhoLens/YuhoLens/web/tests/e2e/a11y.spec.ts:25:34
|
|
tests/e2e/a11y.spec.ts:16:3 › axe a11y › homepage with prefers-reduced-motion is axe-clean:
web/tests/e2e/a11y.spec.ts#L25
1) tests/e2e/a11y.spec.ts:16:3 › axe a11y › homepage with prefers-reduced-motion is axe-clean ────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 58
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
+ "help": "Elements must meet minimum color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast?application=playwright",
+ "id": "color-contrast",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f0ece3",
+ "contrastRatio": 2.23,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#a89f88",
+ "fontSize": "7.5pt (10px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 2.23 (foreground color: #a89f88, background color: #f0ece3, font size: 7.5pt (10px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<a href=\"#problem\" class=\"hero-stage__btn\">Read the case</a>",
+ "target": Array [
+ ".hero-stage__btn[href$=\"#problem\"]",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 2.23 (foreground color: #a89f88, background color: #f0ece3, font size: 7.5pt (10px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<span>Scroll</span>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ ".scroll-hint > span:nth-child(1)",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.color",
+ "wcag2aa",
+ "wcag143",
+ "TTv5",
+ "TT13.c",
+ "EN-301-549",
+ "EN-9.1.4.3",
+ "ACT",
+ "RGAAv4",
+ "RGAA-3.2.1",
+ ],
+ },
+ ]
23 | .withTags(["wcag2a", "wcag2aa", "wcag21aa"])
24 | .analyze();
> 25 | expect(results.violations).toEqual([]);
| ^
26 | } finally {
27 | await context.close();
28 | }
at /home/runner/work/YuhoLens/YuhoLens/web/tests/e2e/a11y.spec.ts:25:34
|
|
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
1 failed
tests/e2e/a11y.spec.ts:16:3 › axe a11y › homepage with prefers-reduced-motion is axe-clean ─────
2 passed (51.5s)
|