feat: Hackathon/carousel #10956
Annotations
5 errors and 10 warnings
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 5</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L95
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures the order of headings is semantically correct", "help": "Heading levels should only increase by one", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/heading-order?application=axeAPI", "id": "heading-order", "impact": "moderate", "nodes": [{"all": [], "any": [{"data": null, "id": "heading-order", "impact": "moderate", "message": "Heading order invalid", "relatedNodes": []}], "failureSummary": "Fix any of the following:
Heading order invalid", "html": "<h3 class=\"awsui_root_18wu0_1k6s4_916 awsui_box_18wu0_1k6s4_168 awsui_h3-variant_18wu0_1k6s4_172 awsui_color-default_18wu0_1k6s4_168 awsui_font-size-default_18wu0_1k6s4_184 awsui_font-weight-default_18wu0_1k6s4_224\">", "impact": "moderate", "none": [], "target": ["#\\32 5-1732292030196-7665 > .awsui_content_14iqq_1br00_304.awsui_content-fit-height_14iqq_1br00_486 > .awsui_content-inner_14iqq_1br00_492.awsui_content-inner_1mwlm_oyjaq_5.awsui_with-paddings_14iqq_1br00_388 > .awsui_vertical-s_18582_8ro4u_200.awsui_vertical_18582_8ro4u_188.awsui_root_18582_8ro4u_141 > .awsui_child_18582_8ro4u_145:nth-child(1) > .awsui_vertical-xxs_18582_8ro4u_194.awsui_vertical_18582_8ro4u_188.awsui_root_18582_8ro4u_141 > .awsui_child_18582_8ro4u_145:nth-child(1) > h3"]}], "tags": ["cat.semantics", "best-practice"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:95:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 3</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 2</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests
Process completed with exit code 1.
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 5</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 5</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 5</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L95
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures the order of headings is semantically correct", "help": "Heading levels should only increase by one", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/heading-order?application=axeAPI", "id": "heading-order", "impact": "moderate", "nodes": [{"all": [], "any": [{"data": null, "id": "heading-order", "impact": "moderate", "message": "Heading order invalid", "relatedNodes": []}], "failureSummary": "Fix any of the following:
Heading order invalid", "html": "<h3 class=\"awsui_root_18wu0_1k6s4_916 awsui_box_18wu0_1k6s4_168 awsui_h3-variant_18wu0_1k6s4_172 awsui_color-default_18wu0_1k6s4_168 awsui_font-size-default_18wu0_1k6s4_184 awsui_font-weight-default_18wu0_1k6s4_224\">", "impact": "moderate", "none": [], "target": ["#\\32 5-1732291636637-4876 > .awsui_content_14iqq_1br00_304.awsui_content-fit-height_14iqq_1br00_486 > .awsui_content-inner_14iqq_1br00_492.awsui_content-inner_1mwlm_oyjaq_5.awsui_with-paddings_14iqq_1br00_388 > .awsui_vertical-s_18582_8ro4u_200.awsui_vertical_18582_8ro4u_188.awsui_root_18582_8ro4u_141 > .awsui_child_18582_8ro4u_145:nth-child(1) > .awsui_vertical-xxs_18582_8ro4u_194.awsui_vertical_18582_8ro4u_188.awsui_root_18582_8ro4u_141 > .awsui_child_18582_8ro4u_145:nth-child(1) > h3"]}], "tags": ["cat.semantics", "best-practice"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:95:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L95
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures the order of headings is semantically correct", "help": "Heading levels should only increase by one", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/heading-order?application=axeAPI", "id": "heading-order", "impact": "moderate", "nodes": [{"all": [], "any": [{"data": null, "id": "heading-order", "impact": "moderate", "message": "Heading order invalid", "relatedNodes": []}], "failureSummary": "Fix any of the following:
Heading order invalid", "html": "<h3 class=\"awsui_root_18wu0_1k6s4_916 awsui_box_18wu0_1k6s4_168 awsui_h3-variant_18wu0_1k6s4_172 awsui_color-default_18wu0_1k6s4_168 awsui_font-size-default_18wu0_1k6s4_184 awsui_font-weight-default_18wu0_1k6s4_224\">", "impact": "moderate", "none": [], "target": ["#\\32 5-1732292028392-5589 > .awsui_content_14iqq_1br00_304.awsui_content-fit-height_14iqq_1br00_486 > .awsui_content-inner_14iqq_1br00_492.awsui_content-inner_1mwlm_oyjaq_5.awsui_with-paddings_14iqq_1br00_388 > .awsui_vertical-s_18582_8ro4u_200.awsui_vertical_18582_8ro4u_188.awsui_root_18582_8ro4u_141 > .awsui_child_18582_8ro4u_145:nth-child(1) > .awsui_vertical-xxs_18582_8ro4u_194.awsui_vertical_18582_8ro4u_188.awsui_root_18582_8ro4u_141 > .awsui_child_18582_8ro4u_145:nth-child(1) > h3"]}], "tags": ["cat.semantics", "best-practice"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:95:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L95
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures the order of headings is semantically correct", "help": "Heading levels should only increase by one", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/heading-order?application=axeAPI", "id": "heading-order", "impact": "moderate", "nodes": [{"all": [], "any": [{"data": null, "id": "heading-order", "impact": "moderate", "message": "Heading order invalid", "relatedNodes": []}], "failureSummary": "Fix any of the following:
Heading order invalid", "html": "<h3 class=\"awsui_root_18wu0_1k6s4_916 awsui_box_18wu0_1k6s4_168 awsui_h3-variant_18wu0_1k6s4_172 awsui_color-default_18wu0_1k6s4_168 awsui_font-size-default_18wu0_1k6s4_184 awsui_font-weight-default_18wu0_1k6s4_224\">", "impact": "moderate", "none": [], "target": ["#\\32 5-1732292029292-1735 > .awsui_content_14iqq_1br00_304.awsui_content-fit-height_14iqq_1br00_486 > .awsui_content-inner_14iqq_1br00_492.awsui_content-inner_1mwlm_oyjaq_5.awsui_with-paddings_14iqq_1br00_388 > .awsui_vertical-s_18582_8ro4u_200.awsui_vertical_18582_8ro4u_188.awsui_root_18582_8ro4u_141 > .awsui_child_18582_8ro4u_145:nth-child(1) > .awsui_vertical-xxs_18582_8ro4u_194.awsui_vertical_18582_8ro4u_188.awsui_root_18582_8ro4u_141 > .awsui_child_18582_8ro4u_145:nth-child(1) > h3"]}], "tags": ["cat.semantics", "best-practice"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:95:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 3</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 3</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 3</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Accessibility tests:
src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures ARIA attributes are allowed for an element's role", "help": "Elements must only use allowed ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI", "id": "aria-allowed-attr", "impact": "serious", "nodes": [{"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a div with no valid role attribute.", "html": "<div class=\"awsui_root_16n63_qubcn_181\" aria-label=\"Test carousel\">", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "div", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a div with no valid role attribute.", "relatedNodes": []}], "target": [".awsui_root_16n63_qubcn_181"]}, {"all": [], "any": [], "failureSummary": "Fix all of the following:
aria-label attribute is not well supported on a span with no valid role attribute.", "html": "<span aria-label=\"List item 1 of 5 items\">1 / 2</span>", "impact": "serious", "none": [{"data": {"messageKey": "noRoleSingular", "nodeName": "span", "prohibited": ["aria-label"], "role": null}, "id": "aria-prohibited-attr", "impact": "serious", "message": "aria-label attribute is not well supported on a span with no valid role attribute.", "relatedNodes": []}], "target": ["span[aria-label=\"List item 1 of 5 items\"]"]}], "tags": ["cat.aria", "wcag2a", "wcag412"]}]
at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:24)
at src/__a11y__/run-a11y-tests.ts:17:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Loading