feat: Add alert content replacement runtime API #4533
Annotations
3 errors and 3 warnings
|
src/__a11y__/a11y-page-object.ts#L95
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures every form element has a label", "help": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/label?application=axeAPI", "id": "label", "impact": "critical", "nodes": [{"all": [], "any": [{"data": null, "id": "implicit-label", "impact": "critical", "message": "Form element does not have an implicit (wrapped) <label>", "relatedNodes": []}, {"data": null, "id": "explicit-label", "impact": "critical", "message": "Form element does not have an explicit <label>", "relatedNodes": []}, {"data": null, "id": "aria-label", "impact": "serious", "message": "aria-label attribute does not exist or is empty", "relatedNodes": []}, {"data": null, "id": "aria-labelledby", "impact": "serious", "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty", "relatedNodes": []}, {"data": {"messageKey": "noAttr"}, "id": "non-empty-title", "impact": "serious", "message": "Element has no title attribute", "relatedNodes": []}, {"data": {"messageKey": "noAttr"}, "id": "non-empty-placeholder", "impact": "serious", "message": "Element has no placeholder attribute", "relatedNodes": []}, {"data": null, "id": "presentational-role", "impact": "minor", "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "relatedNodes": []}], "failureSummary": "Fix any of the following:
Form element does not have an implicit (wrapped) <label>
Form element does not have an explicit <label>
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element has no placeholder attribute
Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "html": "<input class=\"awsui_input_2rhyz_1rh2y_145\" autocomplete=\"on\" type=\"text\" value=\"\">", "impact": "critical", "none": [], "target": [".awsui_input_2rhyz_1rh2y_145"]}], "tags": ["cat.forms", "wcag2a", "wcag412", "wcag131", "section508", "section508.22.n", "ACT"]}]
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:28:13)
|
|
src/__a11y__/a11y-page-object.ts#L95
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures every form element has a label", "help": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/label?application=axeAPI", "id": "label", "impact": "critical", "nodes": [{"all": [], "any": [{"data": null, "id": "implicit-label", "impact": "critical", "message": "Form element does not have an implicit (wrapped) <label>", "relatedNodes": []}, {"data": null, "id": "explicit-label", "impact": "critical", "message": "Form element does not have an explicit <label>", "relatedNodes": []}, {"data": null, "id": "aria-label", "impact": "serious", "message": "aria-label attribute does not exist or is empty", "relatedNodes": []}, {"data": null, "id": "aria-labelledby", "impact": "serious", "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty", "relatedNodes": []}, {"data": {"messageKey": "noAttr"}, "id": "non-empty-title", "impact": "serious", "message": "Element has no title attribute", "relatedNodes": []}, {"data": {"messageKey": "noAttr"}, "id": "non-empty-placeholder", "impact": "serious", "message": "Element has no placeholder attribute", "relatedNodes": []}, {"data": null, "id": "presentational-role", "impact": "minor", "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "relatedNodes": []}], "failureSummary": "Fix any of the following:
Form element does not have an implicit (wrapped) <label>
Form element does not have an explicit <label>
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element has no placeholder attribute
Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "html": "<input class=\"awsui_input_2rhyz_1rh2y_145\" autocomplete=\"on\" type=\"text\" value=\"\">", "impact": "critical", "none": [], "target": [".awsui_input_2rhyz_1rh2y_145"]}], "tags": ["cat.forms", "wcag2a", "wcag412", "wcag131", "section508", "section508.22.n", "ACT"]}]
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:28:13)
|
src/__a11y__/a11y-page-object.ts#L95
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures every form element has a label", "help": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/label?application=axeAPI", "id": "label", "impact": "critical", "nodes": [{"all": [], "any": [{"data": null, "id": "implicit-label", "impact": "critical", "message": "Form element does not have an implicit (wrapped) <label>", "relatedNodes": []}, {"data": null, "id": "explicit-label", "impact": "critical", "message": "Form element does not have an explicit <label>", "relatedNodes": []}, {"data": null, "id": "aria-label", "impact": "serious", "message": "aria-label attribute does not exist or is empty", "relatedNodes": []}, {"data": null, "id": "aria-labelledby", "impact": "serious", "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty", "relatedNodes": []}, {"data": {"messageKey": "noAttr"}, "id": "non-empty-title", "impact": "serious", "message": "Element has no title attribute", "relatedNodes": []}, {"data": {"messageKey": "noAttr"}, "id": "non-empty-placeholder", "impact": "serious", "message": "Element has no placeholder attribute", "relatedNodes": []}, {"data": null, "id": "presentational-role", "impact": "minor", "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "relatedNodes": []}], "failureSummary": "Fix any of the following:
Form element does not have an implicit (wrapped) <label>
Form element does not have an explicit <label>
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element has no placeholder attribute
Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "html": "<input class=\"awsui_input_2rhyz_1rh2y_145\" autocomplete=\"on\" type=\"text\" value=\"\">", "impact": "critical", "none": [], "target": [".awsui_input_2rhyz_1rh2y_145"]}], "tags": ["cat.forms", "wcag2a", "wcag412", "wcag131", "section508", "section508.22.n", "ACT"]}]
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:28:13)
|
src/__a11y__/a11y-page-object.ts#L95
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"description": "Ensures every form element has a label", "help": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/label?application=axeAPI", "id": "label", "impact": "critical", "nodes": [{"all": [], "any": [{"data": null, "id": "implicit-label", "impact": "critical", "message": "Form element does not have an implicit (wrapped) <label>", "relatedNodes": []}, {"data": null, "id": "explicit-label", "impact": "critical", "message": "Form element does not have an explicit <label>", "relatedNodes": []}, {"data": null, "id": "aria-label", "impact": "serious", "message": "aria-label attribute does not exist or is empty", "relatedNodes": []}, {"data": null, "id": "aria-labelledby", "impact": "serious", "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty", "relatedNodes": []}, {"data": {"messageKey": "noAttr"}, "id": "non-empty-title", "impact": "serious", "message": "Element has no title attribute", "relatedNodes": []}, {"data": {"messageKey": "noAttr"}, "id": "non-empty-placeholder", "impact": "serious", "message": "Element has no placeholder attribute", "relatedNodes": []}, {"data": null, "id": "presentational-role", "impact": "minor", "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "relatedNodes": []}], "failureSummary": "Fix any of the following:
Form element does not have an implicit (wrapped) <label>
Form element does not have an explicit <label>
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element has no placeholder attribute
Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "html": "<input class=\"awsui_input_2rhyz_1rh2y_145\" autocomplete=\"on\" type=\"text\" value=\"\">", "impact": "critical", "none": [], "target": [".awsui_input_2rhyz_1rh2y_145"]}], "tags": ["cat.forms", "wcag2a", "wcag412", "wcag131", "section508", "section508.22.n", "ACT"]}]
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:28:13)
|
The logs for this run have expired and are no longer available.
Loading