A11y improvements #996
Annotations
7 errors, 2 warnings, and 2 notices
Run A11y tests:
packages/tool-finder/tests/playwright/a11y/general.spec.ts#L12
1) [chromium] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure the order of headings is semantically correct",
+ "help": "Heading levels should only increase by one",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright",
+ "id": "heading-order",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "heading-order",
+ "impact": "moderate",
+ "message": "Heading order invalid",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Heading order invalid",
+ "html": "<span role=\"heading\" aria-level=\"3\" class=\"sr-only\">1 von 3</span>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "fieldset:nth-child(1) > legend > .box.scroll-my-40.ds-stack-16 > .ds-stack-8 > .ds-label-section.text-gray-900.hyphens-none > .sr-only[role=\"heading\"][aria-level=\"3\"]",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
10 | const accessibilityScanResults = await new AxeBuilder({ page }).analyze();
11 | console.log("Checking A11Y on route:", route);
> 12 | expect(accessibilityScanResults.violations).toEqual([]);
| ^
13 | }
14 | });
15 | });
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/tool-finder/tests/playwright/a11y/general.spec.ts:12:51
|
Run A11y tests:
packages/tool-finder/tests/playwright/a11y/general.spec.ts#L12
1) [chromium] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure the order of headings is semantically correct",
+ "help": "Heading levels should only increase by one",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright",
+ "id": "heading-order",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "heading-order",
+ "impact": "moderate",
+ "message": "Heading order invalid",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Heading order invalid",
+ "html": "<span role=\"heading\" aria-level=\"3\" class=\"sr-only\">1 von 3</span>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "fieldset:nth-child(1) > legend > .box.scroll-my-40.ds-stack-16 > .ds-stack-8 > .ds-label-section.text-gray-900.hyphens-none > .sr-only[role=\"heading\"][aria-level=\"3\"]",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
10 | const accessibilityScanResults = await new AxeBuilder({ page }).analyze();
11 | console.log("Checking A11Y on route:", route);
> 12 | expect(accessibilityScanResults.violations).toEqual([]);
| ^
13 | }
14 | });
15 | });
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/tool-finder/tests/playwright/a11y/general.spec.ts:12:51
|
Run A11y tests:
packages/tool-finder/tests/playwright/a11y/general.spec.ts#L12
2) [firefox] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ─────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure the order of headings is semantically correct",
+ "help": "Heading levels should only increase by one",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright",
+ "id": "heading-order",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "heading-order",
+ "impact": "moderate",
+ "message": "Heading order invalid",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Heading order invalid",
+ "html": "<span role=\"heading\" aria-level=\"3\" class=\"sr-only\">1 von 3</span>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "fieldset:nth-child(1) > legend > .box.scroll-my-40.ds-stack-16 > .ds-stack-8 > .ds-label-section.text-gray-900.hyphens-none > .sr-only[role=\"heading\"][aria-level=\"3\"]",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
10 | const accessibilityScanResults = await new AxeBuilder({ page }).analyze();
11 | console.log("Checking A11Y on route:", route);
> 12 | expect(accessibilityScanResults.violations).toEqual([]);
| ^
13 | }
14 | });
15 | });
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/tool-finder/tests/playwright/a11y/general.spec.ts:12:51
|
Run A11y tests:
packages/tool-finder/tests/playwright/a11y/general.spec.ts#L12
2) [firefox] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure the order of headings is semantically correct",
+ "help": "Heading levels should only increase by one",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright",
+ "id": "heading-order",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "heading-order",
+ "impact": "moderate",
+ "message": "Heading order invalid",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Heading order invalid",
+ "html": "<span role=\"heading\" aria-level=\"3\" class=\"sr-only\">1 von 3</span>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "fieldset:nth-child(1) > legend > .box.scroll-my-40.ds-stack-16 > .ds-stack-8 > .ds-label-section.text-gray-900.hyphens-none > .sr-only[role=\"heading\"][aria-level=\"3\"]",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
10 | const accessibilityScanResults = await new AxeBuilder({ page }).analyze();
11 | console.log("Checking A11Y on route:", route);
> 12 | expect(accessibilityScanResults.violations).toEqual([]);
| ^
13 | }
14 | });
15 | });
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/tool-finder/tests/playwright/a11y/general.spec.ts:12:51
|
Run A11y tests:
packages/tool-finder/tests/playwright/a11y/general.spec.ts#L12
3) [webkit] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ──────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure the order of headings is semantically correct",
+ "help": "Heading levels should only increase by one",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright",
+ "id": "heading-order",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "heading-order",
+ "impact": "moderate",
+ "message": "Heading order invalid",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Heading order invalid",
+ "html": "<span role=\"heading\" aria-level=\"3\" class=\"sr-only\">1 von 3</span>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "fieldset:nth-child(1) > legend > .box.scroll-my-40.ds-stack-16 > .ds-stack-8 > .ds-label-section.text-gray-900.hyphens-none > .sr-only[role=\"heading\"][aria-level=\"3\"]",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
10 | const accessibilityScanResults = await new AxeBuilder({ page }).analyze();
11 | console.log("Checking A11Y on route:", route);
> 12 | expect(accessibilityScanResults.violations).toEqual([]);
| ^
13 | }
14 | });
15 | });
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/tool-finder/tests/playwright/a11y/general.spec.ts:12:51
|
Run A11y tests:
packages/tool-finder/tests/playwright/a11y/general.spec.ts#L12
3) [webkit] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure the order of headings is semantically correct",
+ "help": "Heading levels should only increase by one",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright",
+ "id": "heading-order",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "heading-order",
+ "impact": "moderate",
+ "message": "Heading order invalid",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Heading order invalid",
+ "html": "<span role=\"heading\" aria-level=\"3\" class=\"sr-only\">1 von 3</span>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "fieldset:nth-child(1) > legend > .box.scroll-my-40.ds-stack-16 > .ds-stack-8 > .ds-label-section.text-gray-900.hyphens-none > .sr-only[role=\"heading\"][aria-level=\"3\"]",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
10 | const accessibilityScanResults = await new AxeBuilder({ page }).analyze();
11 | console.log("Checking A11Y on route:", route);
> 12 | expect(accessibilityScanResults.violations).toEqual([]);
| ^
13 | }
14 | });
15 | });
at /home/runner/work/digitalcheck-apps/digitalcheck-apps/packages/tool-finder/tests/playwright/a11y/general.spec.ts:12:51
|
Run A11y tests
Process completed with exit code 1.
|
Run actions/upload-artifact@v4
No files were found with the provided path: packages/*/tests/a11y/playwright-report. No artifacts will be uploaded.
|
Run E2E tests:
packages/tool-finder/[webkit] › e2e/general.spec.ts#L1
packages/tool-finder/[webkit] › e2e/general.spec.ts took 16.3s
|
Run E2E tests
60 passed (1.4m)
|
Run A11y tests
3 failed
[chromium] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ─────
[firefox] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ──────
[webkit] › a11y/general.spec.ts:7:3 › basic example a11y test › check a11y of all routes ───────
|
Loading