refactor: not disable ally test rule anymore #15868
Annotations
5 errors, 1 warning, and 1 notice
🔣 Print GitHub Report:
showcases/e2e/default.ts#L210
1) [chromium-highContrast] › default.ts:174:2 › DBLink › test with accessibility checker ─────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 33
- Array []
+ Array [
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 24,
+ "left": 685,
+ "top": 1113,
+ "width": 62,
+ },
+ "category": "Accessibility",
+ "help": "https://able.ibm.com/rules/archives/2024.12.12/doc/en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22aria-disabled%5C%22%20are%20not%20valid%20for%20the%20element%20%3Ca%3E%20with%20implicit%20ARIA%20role%20%5C%22link%5C%22%22%2C%22snippet%22%3A%22%3Ca%20data-content%3D%5C%22internal%5C%22%20data-hide-icon-after%3D%5C%22false%5C%22%20tabindex%3D%5C%22-1%5C%22%20aria-disabled%3D%5C%22true%5C%22%20href%3D%5C%22%23%5C%22%20class%3D%5C%22db-link%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_implicit_role_attr%22%2C%22ruleId%22%3A%22aria_attribute_valid%22%2C%22msgArgs%22%3A%5B%22aria-disabled%22%2C%22a%22%2C%22link%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The ARIA attributes \"aria-disabled\" are not valid for the element <a> with implicit ARIA role \"link\"",
+ "messageArgs": Array [
+ "aria-disabled",
+ "a",
+ "link",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/link[10]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[3]/div[2]/div[1]/div[2]/a[1]",
+ },
+ "reasonId": "Fail_invalid_implicit_role_attr",
+ "ruleId": "aria_attribute_valid",
+ "ruleTime": 0,
+ "snippet": "<a data-content=\"internal\" data-hide-icon-after=\"false\" tabindex=\"-1\" aria-disabled=\"true\" href=\"#\" class=\"db-link\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ ]
208 | }
209 |
> 210 | expect(failures).toEqual([]);
| ^
211 | });
212 | };
213 |
at /__w/mono/mono/showcases/e2e/default.ts:210:20
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L210
1) [chromium-highContrast] › default.ts:174:2 › DBLink › test with accessibility checker ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 33
- Array []
+ Array [
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 24,
+ "left": 685,
+ "top": 1113,
+ "width": 62,
+ },
+ "category": "Accessibility",
+ "help": "https://able.ibm.com/rules/archives/2024.12.12/doc/en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22aria-disabled%5C%22%20are%20not%20valid%20for%20the%20element%20%3Ca%3E%20with%20implicit%20ARIA%20role%20%5C%22link%5C%22%22%2C%22snippet%22%3A%22%3Ca%20data-content%3D%5C%22internal%5C%22%20data-hide-icon-after%3D%5C%22false%5C%22%20tabindex%3D%5C%22-1%5C%22%20aria-disabled%3D%5C%22true%5C%22%20href%3D%5C%22%23%5C%22%20class%3D%5C%22db-link%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_implicit_role_attr%22%2C%22ruleId%22%3A%22aria_attribute_valid%22%2C%22msgArgs%22%3A%5B%22aria-disabled%22%2C%22a%22%2C%22link%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The ARIA attributes \"aria-disabled\" are not valid for the element <a> with implicit ARIA role \"link\"",
+ "messageArgs": Array [
+ "aria-disabled",
+ "a",
+ "link",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/link[10]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[3]/div[2]/div[1]/div[2]/a[1]",
+ },
+ "reasonId": "Fail_invalid_implicit_role_attr",
+ "ruleId": "aria_attribute_valid",
+ "ruleTime": 0,
+ "snippet": "<a data-content=\"internal\" data-hide-icon-after=\"false\" tabindex=\"-1\" aria-disabled=\"true\" href=\"#\" class=\"db-link\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ ]
208 | }
209 |
> 210 | expect(failures).toEqual([]);
| ^
211 | });
212 | };
213 |
at /__w/mono/mono/showcases/e2e/default.ts:210:20
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L210
2) [chromium-highContrast] › default.ts:174:2 › DBSwitch › test with accessibility checker ───────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 715
- Array []
+ Array [
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 20,
+ "left": 396,
+ "top": 463,
+ "width": 38,
+ },
+ "category": "Accessibility",
+ "help": "https://able.ibm.com/rules/archives/2024.12.12/doc/en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22aria-checked%5C%22%20are%20not%20valid%20for%20the%20element%20%3Cinput%3E%20with%20ARIA%20role%20%5C%22switch%5C%22%22%2C%22snippet%22%3A%22%3Cinput%20id%3D%5C%22switch-9d3d27ef-e370-477e-9706-07df7e4b474d%5C%22%20aria-invalid%3D%5C%22false%5C%22%20aria-checked%3D%5C%22false%5C%22%20role%3D%5C%22switch%5C%22%20type%3D%5C%22checkbox%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_role_attr%22%2C%22ruleId%22%3A%22aria_attribute_valid%22%2C%22msgArgs%22%3A%5B%22aria-checked%22%2C%22input%22%2C%22switch%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The ARIA attributes \"aria-checked\" are not valid for the element <input> with ARIA role \"switch\"",
+ "messageArgs": Array [
+ "aria-checked",
+ "input",
+ "switch",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/switch[1]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/label[1]/input[1]",
+ },
+ "reasonId": "Fail_invalid_role_attr",
+ "ruleId": "aria_attribute_valid",
+ "ruleTime": 0,
+ "snippet": "<input id=\"switch-9d3d27ef-e370-477e-9706-07df7e4b474d\" aria-invalid=\"false\" aria-checked=\"false\" role=\"switch\" type=\"checkbox\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 24,
+ "left": 524,
+ "top": 461,
+ "width": 46,
+ },
+ "category": "Accessibility",
+ "help": "https://able.ibm.com/rules/archives/2024.12.12/doc/en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22aria-checked%5C%22%20are%20not%20valid%20for%20the%20element%20%3Cinput%3E%20with%20ARIA%20role%20%5C%22switch%5C%22%22%2C%22snippet%22%3A%22%3Cinput%20id%3D%5C%22switch-df3fad6d-b7ea-4bc3-9184-c6af58b95a63%5C%22%20aria-invalid%3D%5C%22false%5C%22%20aria-checked%3D%5C%22false%5C%22%20role%3D%5C%22switch%5C%22%20type%3D%5C%22checkbox%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_role_attr%22%2C%22ruleId%22%3A%22aria_attribute_valid%22%2C%22msgArgs%22%3A%5B%22aria-checked%22%2C%22input%22%2C%22switch%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The ARIA attributes \"aria-checked\" are not valid for the element <input> with ARIA role \"switch\"",
+ "messageArgs": Array [
+ "aria-checked",
+ "input",
+ "switch",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/switch[2]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]/label[1]/input[1]",
+ },
+ "reasonId": "Fail_invalid_role_attr",
+ "ruleId": "aria_attribute_valid",
+ "ruleTime": 0,
+ "snippet": "<input id=\"switch-df3fad6d-b7ea-4bc3-9184-c6af58b95a63\" aria-invalid=\"false\" aria-checked=\"false\" role=\"switch\" type=\"checkbox\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 28,
+ "left": 720,
+ "top": 459,
+ "wi
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L210
2) [chromium-highContrast] › default.ts:174:2 › DBSwitch › test with accessibility checker ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 715
- Array []
+ Array [
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 20,
+ "left": 396,
+ "top": 463,
+ "width": 38,
+ },
+ "category": "Accessibility",
+ "help": "https://able.ibm.com/rules/archives/2024.12.12/doc/en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22aria-checked%5C%22%20are%20not%20valid%20for%20the%20element%20%3Cinput%3E%20with%20ARIA%20role%20%5C%22switch%5C%22%22%2C%22snippet%22%3A%22%3Cinput%20id%3D%5C%22switch-f35327be-bc27-4f5f-b18a-06adea217aef%5C%22%20aria-invalid%3D%5C%22false%5C%22%20aria-checked%3D%5C%22false%5C%22%20role%3D%5C%22switch%5C%22%20type%3D%5C%22checkbox%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_role_attr%22%2C%22ruleId%22%3A%22aria_attribute_valid%22%2C%22msgArgs%22%3A%5B%22aria-checked%22%2C%22input%22%2C%22switch%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The ARIA attributes \"aria-checked\" are not valid for the element <input> with ARIA role \"switch\"",
+ "messageArgs": Array [
+ "aria-checked",
+ "input",
+ "switch",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/switch[1]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/label[1]/input[1]",
+ },
+ "reasonId": "Fail_invalid_role_attr",
+ "ruleId": "aria_attribute_valid",
+ "ruleTime": 0,
+ "snippet": "<input id=\"switch-f35327be-bc27-4f5f-b18a-06adea217aef\" aria-invalid=\"false\" aria-checked=\"false\" role=\"switch\" type=\"checkbox\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 24,
+ "left": 524,
+ "top": 461,
+ "width": 46,
+ },
+ "category": "Accessibility",
+ "help": "https://able.ibm.com/rules/archives/2024.12.12/doc/en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22aria-checked%5C%22%20are%20not%20valid%20for%20the%20element%20%3Cinput%3E%20with%20ARIA%20role%20%5C%22switch%5C%22%22%2C%22snippet%22%3A%22%3Cinput%20id%3D%5C%22switch-d0db7683-c86d-4024-b672-13edf174df4a%5C%22%20aria-invalid%3D%5C%22false%5C%22%20aria-checked%3D%5C%22false%5C%22%20role%3D%5C%22switch%5C%22%20type%3D%5C%22checkbox%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_role_attr%22%2C%22ruleId%22%3A%22aria_attribute_valid%22%2C%22msgArgs%22%3A%5B%22aria-checked%22%2C%22input%22%2C%22switch%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The ARIA attributes \"aria-checked\" are not valid for the element <input> with ARIA role \"switch\"",
+ "messageArgs": Array [
+ "aria-checked",
+ "input",
+ "switch",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/switch[2]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]/label[1]/input[1]",
+ },
+ "reasonId": "Fail_invalid_role_attr",
+ "ruleId": "aria_attribute_valid",
+ "ruleTime": 0,
+ "snippet": "<input id=\"switch-d0db7683-c86d-4024-b672-13edf174df4a\" aria-invalid=\"false\" aria-checked=\"false\" role=\"switch\" type=\"checkbox\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ Object {
+ "apiArgs": Array [],
+ "bounds
|
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🆙 Upload aChecker results
No files were found with the provided path: ./showcases/react-showcase-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report
2 failed
[chromium-highContrast] › default.ts:174:2 › DBLink › test with accessibility checker ──────────
[chromium-highContrast] › default.ts:174:2 › DBSwitch › test with accessibility checker ────────
166 passed (3.9m)
|
Loading