From ab5dba44730d14de1a8eca256fe563e3f86fc067 Mon Sep 17 00:00:00 2001 From: Shunguo Date: Wed, 23 Oct 2024 10:39:21 -0500 Subject: [PATCH] update the selenium baselines #1974 --- .../JSONObjectStructureVerification.html.json | 409 +++++++----------- ...ectStructureVerificationSelenium.html.json | 377 +++++++--------- .../aChecker.Baseline.test.js | 2 +- 3 files changed, 313 insertions(+), 475 deletions(-) diff --git a/accessibility-checker/test/baselines/JSONObjectStructureVerification.html.json b/accessibility-checker/test/baselines/JSONObjectStructureVerification.html.json index 706a25a55..8fb2bceec 100644 --- a/accessibility-checker/test/baselines/JSONObjectStructureVerification.html.json +++ b/accessibility-checker/test/baselines/JSONObjectStructureVerification.html.json @@ -10,7 +10,7 @@ "dom": "/html[1]", "aria": "/document[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "Pass_0", "message": "Lang has a valid primary lang and conforms to BCP 47", "messageArgs": [], @@ -23,8 +23,8 @@ }, "snippet": "", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/html_lang_valid.html#%7B%22message%22%3A%22Lang%20has%20a%20valid%20primary%20lang%20and%20conforms%20to%20BCP%2047%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22html_lang_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -52,8 +52,8 @@ }, "snippet": "", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20language%20detected%20as%20%5C%22en%5C%22%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22html_lang_exists%22%2C%22msgArgs%22%3A%5B%22en%22%5D%7D" }, { @@ -66,7 +66,7 @@ "dom": "/html[1]", "aria": "/document[1]" }, - "ruleTime": 1, + "ruleTime": 0, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [], @@ -79,8 +79,8 @@ }, "snippet": "", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/html_skipnav_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22html_skipnav_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -93,7 +93,7 @@ "dom": "/html[1]", "aria": "/document[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [], @@ -106,8 +106,8 @@ }, "snippet": "", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/page_title_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22page_title_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -133,8 +133,8 @@ }, "snippet": "", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -160,36 +160,9 @@ }, "snippet": "", "category": "Accessibility", - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chead%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "ruleId": "img_alt_background", - "value": [ - "RECOMMENDATION", - "PASS" - ], - "path": { - "dom": "/html[1]/head[1]", - "aria": "/document[1]" - }, - "ruleTime": 0, - "reasonId": "Pass_0", - "message": "Rule Passed", - "messageArgs": [], - "apiArgs": [], - "bounds": { - "left": 0, - "top": 0, - "height": 0, - "width": 0 - }, - "snippet": "", - "category": "Accessibility", "ignored": false, - "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chead%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chead%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { "ruleId": "page_title_valid", @@ -201,7 +174,7 @@ "dom": "/html[1]/head[1]/title[1]", "aria": "/document[1]" }, - "ruleTime": 1, + "ruleTime": 0, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [ @@ -216,8 +189,8 @@ }, "snippet": "", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/page_title_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ctitle%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22page_title_valid%22%2C%22msgArgs%22%3A%5B%22Helo%20World%22%5D%7D" }, { @@ -243,36 +216,9 @@ }, "snippet": "<title>", "category": "Accessibility", - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ctitle%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "ruleId": "img_alt_background", - "value": [ - "RECOMMENDATION", - "PASS" - ], - "path": { - "dom": "/html[1]/head[1]/title[1]", - "aria": "/document[1]" - }, - "ruleTime": 0, - "reasonId": "Pass_0", - "message": "Rule Passed", - "messageArgs": [], - "apiArgs": [], - "bounds": { - "left": 0, - "top": 0, - "height": 0, - "width": 0 - }, - "snippet": "<title>", - "category": "Accessibility", "ignored": false, - "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ctitle%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ctitle%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { "ruleId": "aria_content_in_landmark", @@ -297,36 +243,9 @@ }, "snippet": "<meta charset=\"utf-8\">", "category": "Accessibility", - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20charset%3D%5C%22utf-8%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "ruleId": "img_alt_background", - "value": [ - "RECOMMENDATION", - "PASS" - ], - "path": { - "dom": "/html[1]/head[1]/meta[1]", - "aria": "/document[1]" - }, - "ruleTime": 0, - "reasonId": "Pass_0", - "message": "Rule Passed", - "messageArgs": [], - "apiArgs": [], - "bounds": { - "left": 0, - "top": 0, - "height": 0, - "width": 0 - }, - "snippet": "<meta charset=\"utf-8\">", - "category": "Accessibility", "ignored": false, - "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20charset%3D%5C%22utf-8%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20charset%3D%5C%22utf-8%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { "ruleId": "aria_content_in_landmark", @@ -351,36 +270,9 @@ }, "snippet": "<meta content=\"text\" name=\"Description\">", "category": "Accessibility", - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20content%3D%5C%22text%5C%22%20name%3D%5C%22Description%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "ruleId": "img_alt_background", - "value": [ - "RECOMMENDATION", - "PASS" - ], - "path": { - "dom": "/html[1]/head[1]/meta[2]", - "aria": "/document[1]" - }, - "ruleTime": 0, - "reasonId": "Pass_0", - "message": "Rule Passed", - "messageArgs": [], - "apiArgs": [], - "bounds": { - "left": 0, - "top": 0, - "height": 0, - "width": 0 - }, - "snippet": "<meta content=\"text\" name=\"Description\">", - "category": "Accessibility", "ignored": false, - "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20content%3D%5C%22text%5C%22%20name%3D%5C%22Description%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20content%3D%5C%22text%5C%22%20name%3D%5C%22Description%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { "ruleId": "skip_main_exists", @@ -405,8 +297,8 @@ }, "snippet": "<body>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/skip_main_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22skip_main_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -432,8 +324,8 @@ }, "snippet": "<body>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/skip_main_described.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22skip_main_described%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -459,8 +351,8 @@ }, "snippet": "<body>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -473,7 +365,7 @@ "dom": "/html[1]/body[1]", "aria": "/document[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [], @@ -486,8 +378,8 @@ }, "snippet": "<body>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -513,8 +405,8 @@ }, "snippet": "<body>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -540,8 +432,8 @@ }, "snippet": "<div role=\"navigation\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_allowed.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_role_allowed%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -554,7 +446,7 @@ "dom": "/html[1]/body[1]/div[1]", "aria": "/document[1]/navigation[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "pass", "message": "Rule Passed", "messageArgs": [], @@ -567,8 +459,8 @@ }, "snippet": "<div role=\"navigation\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_keyboard_handler_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -581,7 +473,7 @@ "dom": "/html[1]/body[1]/div[1]", "aria": "/document[1]/navigation[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "pass", "message": "An explicitly-assigned ARIA role is not redundant with the implicit role of the element", "messageArgs": [], @@ -594,8 +486,8 @@ }, "snippet": "<div role=\"navigation\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_redundant.html#%7B%22message%22%3A%22An%20explicitly-assigned%20ARIA%20role%20is%20not%20redundant%20with%20the%20implicit%20role%20of%20the%20element%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_role_redundant%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -608,7 +500,7 @@ "dom": "/html[1]/body[1]/div[1]", "aria": "/document[1]/navigation[1]" }, - "ruleTime": 1, + "ruleTime": 0, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [ @@ -624,8 +516,8 @@ }, "snippet": "<div role=\"navigation\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_role_valid%22%2C%22msgArgs%22%3A%5B%22navigation%22%2C%22div%22%5D%7D" }, { @@ -651,8 +543,8 @@ }, "snippet": "<div role=\"navigation\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -678,8 +570,8 @@ }, "snippet": "<div role=\"navigation\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -692,7 +584,7 @@ "dom": "/html[1]/body[1]/div[1]", "aria": "/document[1]/navigation[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "pass", "message": "Rule Passed", "messageArgs": [], @@ -705,39 +597,39 @@ }, "snippet": "<div role=\"navigation\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { - "ruleId": "aria_content_in_landmark", + "ruleId": "aria_attribute_required", "value": [ "VIOLATION", "PASS" ], "path": { - "dom": "/html[1]/body[1]/div[1]/a[1]", - "aria": "/document[1]/navigation[1]/link[1]" + "dom": "/html[1]/body[1]/div[1]", + "aria": "/document[1]/navigation[1]" }, "ruleTime": 0, - "reasonId": "Pass_0", - "message": "Rule Passed", + "reasonId": "pass", + "message": "The required attributes for the element with the role are defined", "messageArgs": [], "apiArgs": [], "bounds": { "left": 8, "top": 8, - "height": 18, - "width": 56 + "height": 19, + "width": 784 }, - "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", + "snippet": "<div role=\"navigation\">", "category": "Accessibility", - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" + "ignored": false, + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_attribute_required.html#%7B%22message%22%3A%22The%20required%20attributes%20for%20the%20element%20with%20the%20role%20are%20defined%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_attribute_required%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { - "ruleId": "element_tabbable_unobscured", + "ruleId": "aria_content_in_landmark", "value": [ "VIOLATION", "PASS" @@ -746,9 +638,9 @@ "dom": "/html[1]/body[1]/div[1]/a[1]", "aria": "/document[1]/navigation[1]/link[1]" }, - "ruleTime": 0, - "reasonId": "pass", - "message": "The element is not entirely covered by other content", + "ruleTime": 1, + "reasonId": "Pass_0", + "message": "Rule Passed", "messageArgs": [], "apiArgs": [], "bounds": { @@ -759,9 +651,9 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/element_tabbable_unobscured.html#%7B%22message%22%3A%22The%20element%20is%20not%20entirely%20covered%20by%20other%20content%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22element_tabbable_unobscured%22%2C%22msgArgs%22%3A%5B%5D%7D" + "ignored": false, + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { "ruleId": "element_tabbable_visible", @@ -786,8 +678,8 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/element_tabbable_visible.html#%7B%22message%22%3A%22The%20tabbable%20element%20is%20visible%20on%20the%20screen%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22element_tabbable_visible%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -813,8 +705,8 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -840,36 +732,9 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/style_focus_visible.html#%7B%22message%22%3A%22The%20keyboard%20focus%20indicator%20is%20visible%20or%20is%20not%20changed%20from%20the%20browser%20default%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass_focus_visible%22%2C%22ruleId%22%3A%22style_focus_visible%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "ruleId": "target_spacing_sufficient", - "value": [ - "VIOLATION", - "PASS" - ], - "path": { - "dom": "/html[1]/body[1]/div[1]/a[1]", - "aria": "/document[1]/navigation[1]/link[1]" - }, - "ruleTime": 1, - "reasonId": "pass_spacing", - "message": "The target's spacing from other targets is sufficient", - "messageArgs": [], - "apiArgs": [], - "bounds": { - "left": 8, - "top": 8, - "height": 18, - "width": 56 - }, - "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", - "category": "Accessibility", "ignored": false, - "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/target_spacing_sufficient.html#%7B%22message%22%3A%22The%20target's%20spacing%20from%20other%20targets%20is%20sufficient%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass_spacing%22%2C%22ruleId%22%3A%22target_spacing_sufficient%22%2C%22msgArgs%22%3A%5B%5D%7D" + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/style_focus_visible.html#%7B%22message%22%3A%22The%20keyboard%20focus%20indicator%20is%20visible%20or%20is%20not%20changed%20from%20the%20browser%20default%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass_focus_visible%22%2C%22ruleId%22%3A%22style_focus_visible%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { "ruleId": "text_contrast_sufficient", @@ -881,7 +746,7 @@ "dom": "/html[1]/body[1]/div[1]/a[1]", "aria": "/document[1]/navigation[1]/link[1]" }, - "ruleTime": 1, + "ruleTime": 2, "reasonId": "pass", "message": "The contrast ratio of text with its background meets WCAG AA requirements", "messageArgs": [ @@ -902,8 +767,8 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20contrast%20ratio%20of%20text%20with%20its%20background%20meets%20WCAG%20AA%20requirements%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_contrast_sufficient%22%2C%22msgArgs%22%3A%5B%229.40%22%2C16%2C400%2C%22%230000ee%22%2C%22%23ffffff%22%2Cfalse%2Cfalse%5D%7D" }, { @@ -929,8 +794,8 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -956,8 +821,8 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -983,10 +848,37 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20a%20description%20of%20its%20purpose%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22a_text_purpose%22%2C%22msgArgs%22%3A%5B%5D%7D" }, + { + "ruleId": "label_name_visible", + "value": [ + "VIOLATION", + "PASS" + ], + "path": { + "dom": "/html[1]/body[1]/div[1]/a[1]", + "aria": "/document[1]/navigation[1]/link[1]" + }, + "ruleTime": 2, + "reasonId": "Pass_0", + "message": "Accessible name matches or contains the visible label text", + "messageArgs": [], + "apiArgs": [], + "bounds": { + "left": 8, + "top": 8, + "height": 18, + "width": 56 + }, + "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", + "category": "Accessibility", + "level": "pass", + "ignored": false, + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/label_name_visible.html#%7B%22message%22%3A%22Accessible%20name%20matches%20or%20contains%20the%20visible%20label%20text%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22label_name_visible%22%2C%22msgArgs%22%3A%5B%5D%7D" + }, { "ruleId": "widget_tabbable_exists", "value": [ @@ -997,7 +889,7 @@ "dom": "/html[1]/body[1]/div[1]/a[1]", "aria": "/document[1]/navigation[1]/link[1]" }, - "ruleTime": 0, + "ruleTime": 2, "reasonId": "pass", "message": "Rule Passed", "messageArgs": [], @@ -1010,8 +902,8 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/widget_tabbable_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22widget_tabbable_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1037,8 +929,8 @@ }, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Components%20with%20a%20widget%20role%20should%20have%20no%20more%20than%20one%20tabbable%20element%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22widget_tabbable_single%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1064,8 +956,8 @@ }, "snippet": "<div role=\"main\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_allowed.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_role_allowed%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1091,8 +983,8 @@ }, "snippet": "<div role=\"main\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_keyboard_handler_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1118,8 +1010,8 @@ }, "snippet": "<div role=\"main\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_redundant.html#%7B%22message%22%3A%22An%20explicitly-assigned%20ARIA%20role%20is%20not%20redundant%20with%20the%20implicit%20role%20of%20the%20element%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_role_redundant%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1132,7 +1024,7 @@ "dom": "/html[1]/body[1]/div[2]", "aria": "/document[1]/main[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [ @@ -1148,8 +1040,8 @@ }, "snippet": "<div role=\"main\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_role_valid%22%2C%22msgArgs%22%3A%5B%22main%22%2C%22div%22%5D%7D" }, { @@ -1175,8 +1067,8 @@ }, "snippet": "<div role=\"main\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1202,8 +1094,8 @@ }, "snippet": "<div role=\"main\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1216,7 +1108,7 @@ "dom": "/html[1]/body[1]/div[2]", "aria": "/document[1]/main[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "pass", "message": "Rule Passed", "messageArgs": [], @@ -1229,10 +1121,37 @@ }, "snippet": "<div role=\"main\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, + { + "ruleId": "aria_attribute_required", + "value": [ + "VIOLATION", + "PASS" + ], + "path": { + "dom": "/html[1]/body[1]/div[2]", + "aria": "/document[1]/main[1]" + }, + "ruleTime": 0, + "reasonId": "pass", + "message": "The required attributes for the element with the role are defined", + "messageArgs": [], + "apiArgs": [], + "bounds": { + "left": 8, + "top": 48, + "height": 74, + "width": 784 + }, + "snippet": "<div role=\"main\">", + "category": "Accessibility", + "level": "pass", + "ignored": false, + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_attribute_required.html#%7B%22message%22%3A%22The%20required%20attributes%20for%20the%20element%20with%20the%20role%20are%20defined%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_attribute_required%22%2C%22msgArgs%22%3A%5B%5D%7D" + }, { "ruleId": "aria_content_in_landmark", "value": [ @@ -1256,8 +1175,8 @@ }, "snippet": "<a name=\"navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20name%3D%5C%22navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1283,8 +1202,8 @@ }, "snippet": "<a name=\"navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20name%3D%5C%22navskip%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1310,8 +1229,8 @@ }, "snippet": "<a name=\"navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20name%3D%5C%22navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1337,8 +1256,8 @@ }, "snippet": "<a name=\"navskip\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20name%3D%5C%22navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1364,8 +1283,8 @@ }, "snippet": "<h1>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/heading_content_exists.html#%7B%22message%22%3A%22Heading%20element%20has%20descriptive%20text%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22heading_content_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1391,8 +1310,8 @@ }, "snippet": "<h1>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/heading_markup_misuse.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22heading_markup_misuse%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1418,8 +1337,8 @@ }, "snippet": "<h1>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1445,8 +1364,8 @@ }, "snippet": "<h1>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1459,7 +1378,7 @@ "dom": "/html[1]/body[1]/div[2]/h1[1]", "aria": "/document[1]/main[1]/heading[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "pass", "message": "The contrast ratio of text with its background meets WCAG AA requirements", "messageArgs": [ @@ -1480,8 +1399,8 @@ }, "snippet": "<h1>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20contrast%20ratio%20of%20text%20with%20its%20background%20meets%20WCAG%20AA%20requirements%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_contrast_sufficient%22%2C%22msgArgs%22%3A%5B%2221.00%22%2C32%2C700%2C%22%23000000%22%2C%22%23ffffff%22%2Cfalse%2Cfalse%5D%7D" }, { @@ -1494,7 +1413,7 @@ "dom": "/html[1]/body[1]/div[2]/h1[1]", "aria": "/document[1]/main[1]/heading[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [], @@ -1507,8 +1426,8 @@ }, "snippet": "<h1>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1534,8 +1453,8 @@ }, "snippet": "<h1>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1561,8 +1480,8 @@ }, "snippet": "<h1>", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22An%20accessible%20name%20is%20provided%20for%20the%20element%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_accessiblename_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1588,8 +1507,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1615,8 +1534,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/element_id_unique.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22element_id_unique%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1642,8 +1561,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1656,7 +1575,7 @@ "dom": "/html[1]/body[1]/div[2]/div[1]", "aria": "/document[1]/main[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [], @@ -1669,8 +1588,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1696,8 +1615,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1710,7 +1629,7 @@ "dom": "/html[1]/body[1]/div[2]/div[2]", "aria": "/document[1]/main[1]" }, - "ruleTime": 0, + "ruleTime": 1, "reasonId": "Pass_0", "message": "Rule Passed", "messageArgs": [], @@ -1723,8 +1642,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1753,8 +1672,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": true, "level": "violation", + "ignored": true, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/element_id_unique.html#%7B%22message%22%3A%22The%20%3Cdiv%3E%20element%20has%20the%20id%20%5C%22firstDiv%5C%22%20that%20is%20already%20in%20use%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%2C%22ruleId%22%3A%22element_id_unique%22%2C%22msgArgs%22%3A%5B%22div%22%2C%22firstDiv%22%5D%7D" }, { @@ -1780,8 +1699,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1807,8 +1726,8 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1834,13 +1753,13 @@ }, "snippet": "<div id=\"firstDiv\">", "category": "Accessibility", - "ignored": false, "level": "pass", + "ignored": false, "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" } ], - "numExecuted": 67, - "ruleTime": 5, + "numExecuted": 64, + "ruleTime": 19, "nls": { "html_lang_valid": { "0": "The default human language of the page must be valid and specified in accordance with BCP 47", @@ -1902,9 +1821,9 @@ "0": "ARIA roles must be valid for the element to which they are assigned", "Pass_0": "Rule Passed" }, - "element_tabbable_unobscured": { - "0": "When an element receives focus, it is not entirely covered by other content", - "pass": "The element is not entirely covered by other content" + "aria_attribute_required": { + "0": "The required attributes for the element with a role must be defined", + "pass": "The required attributes for the element with the role are defined" }, "element_tabbable_visible": { "0": "A tabbable element should be visible on the screen when it has keyboard focus", @@ -1914,10 +1833,6 @@ "0": "The keyboard focus indicator should be visible when default border or outline is modified by CSS", "pass_focus_visible": "The keyboard focus indicator is visible or is not changed from the browser default" }, - "target_spacing_sufficient": { - "0": "The target must be sufficiently sized or spaced from other targets", - "pass_spacing": "The target's spacing from other targets is sufficient" - }, "text_contrast_sufficient": { "0": "The contrast ratio of text with its background must meet WCAG AA requirements", "pass": "The contrast ratio of text with its background meets WCAG AA requirements" @@ -1926,6 +1841,10 @@ "0": "Hyperlinks must have an accessible name for their purpose", "pass": "Hyperlink has a description of its purpose" }, + "label_name_visible": { + "0": "Accessible name must match or contain the visible label text", + "Pass_0": "Accessible name matches or contains the visible label text" + }, "widget_tabbable_exists": { "0": "Component must have at least one tabbable element", "pass": "Rule Passed" @@ -1954,18 +1873,18 @@ }, "summary": { "counts": { + "ignored": 1, + "elements": 13, + "elementsViolation": 0, + "elementsViolationReview": 0, "violation": 0, "potentialviolation": 0, "recommendation": 0, "potentialrecommendation": 0, "manual": 0, - "pass": 66, - "ignored": 1, - "elements": 13, - "elementsViolation": 0, - "elementsViolationReview": 0 + "pass": 63 }, - "scanTime": 31, + "scanTime": 96, "ruleArchive": "Preview Rules (preview)", "policies": [ "IBM_Accessibility" @@ -1978,10 +1897,10 @@ "manual", "pass" ], - "startScan": 1727716290858, + "startScan": 1729696718889, "URL": "data:text/html;charset=utf-8,%3C!DOCTYPE%20html%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml4%2Floose.dtd%22%3E%0A%3C!--%0A%20%20%20%20%20%2F******************************************************************************%0A%20%20%20%20%20Copyright%3A%3A%202020-%20IBM%2C%20Inc%0A%0A%20%20%20%20Licensed%20under%20the%20Apache%20License%2C%20Version%202.0%20(the%20%22License%22)%3B%0A%20%20%20%20you%20may%20not%20use%20this%20file%20except%20in%20compliance%20with%20the%20License.%0A%20%20%20%20You%20may%20obtain%20a%20copy%20of%20the%20License%20at%0A%0A%20%20%20%20http%3A%2F%2Fwww.apache.org%2Flicenses%2FLICENSE-2.0%0A%0A%20%20%20%20Unless%20required%20by%20applicable%20law%20or%20agreed%20to%20in%20writing%2C%20software%0A%20%20%20%20distributed%20under%20the%20License%20is%20distributed%20on%20an%20%22AS%20IS%22%20BASIS%2C%0A%20%20%20%20WITHOUT%20WARRANTIES%20OR%20CONDITIONS%20OF%20ANY%20KIND%2C%20either%20express%20or%20implied.%0A%20%20%20%20See%20the%20License%20for%20the%20specific%20language%20governing%20permissions%20and%0A%20%20%20%20limitations%20under%20the%20License.%0A%20%20*****************************************************************************%2F%0A%0A--%3E%20%0A%3Chtml%20lang%3D%22en%22%3E%0A%0A%3Chead%3E%0A%20%20%20%20%3Ctitle%3EHelo%20World%3C%2Ftitle%3E%0A%20%20%20%20%3Cmeta%20charset%3D%22utf-8%22%3E%0A%20%20%20%20%3Cmeta%20name%3D%22Description%22%20content%3D%22text%22%3E%0A%3C%2Fhead%3E%0A%0A%3Cbody%3E%0A%20%20%20%20%3Cdiv%20role%3D%22navigation%22%3E%0A%20%20%20%20%20%20%20%20%3Ca%20href%3D%22%23navskip%22%20alt%3D%22skip%20to%20main%20content%22%3E%20NavSkip%20%3C%2Fa%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%0A%20%20%20%20%3Cdiv%20role%3D%22main%22%3E%0A%20%20%20%20%20%20%20%20%3Ca%20name%3D%22navskip%22%3E%3C%2Fa%3E%0A%0A%20%20%20%20%20%20%20%20%3C!--%20xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%20--%3E%0A%0A%20%20%20%20%20%20%20%20%3Ch1%3EThis%20is%20a%20basic%20file%20to%20test%20that%20the%20karma-ibma%20is%20scanning%20for%20accessibility%20violations...%3C%2Fh1%3E%0A%0A%20%20%20%20%20%20%20%20%3Cdiv%20id%3D%22firstDiv%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C!--%3Cimg%20src%3D%22somfile.png%22%2F%3E--%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C!--%3Cimg%20src%3D%22somfile.png%22%2F%3E--%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%3Cdiv%20id%3D%22firstDiv%22%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%3Cscript%20type%3D%22text%2Fjavascript%22%3E%0A%2F%2F%3C!%5BCDATA%5B%0A%20%20if%20(typeof(OpenAjax)%20%3D%3D%20'undefined')%20OpenAjax%20%3D%20%7B%7D%0A%20%20if%20(typeof(OpenAjax.a11y)%20%3D%3D%20'undefined')%20OpenAjax.a11y%20%3D%20%7B%7D%0A%20%20OpenAjax.a11y.ruleCoverage%20%3D%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20ruleId%3A%20%221%22%2C%0A%20%20%20%20%20%20passedXpaths%3A%20%5B%0A%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20failedXpaths%3A%20%5B%0A%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%5D%3B%0A%2F%2F%5D%5D%3E%0A%3C%2Fscript%3E%20%20%20%20%0A%3C%2Fbody%3E%0A%0A%3C%2Fhtml%3E%0A" }, - "scanID": "00807472-eded-43ff-a7b1-e64f6e4d5233", + "scanID": "b19261f6-acc9-40f6-836a-e404f7581164", "toolID": "accessibility-checker-v3.0.0", "label": "JSONObjectStructureVerification.html" } \ No newline at end of file diff --git a/accessibility-checker/test/baselines/JSONObjectStructureVerificationSelenium.html.json b/accessibility-checker/test/baselines/JSONObjectStructureVerificationSelenium.html.json index 7a9b91432..7d73ad462 100644 --- a/accessibility-checker/test/baselines/JSONObjectStructureVerificationSelenium.html.json +++ b/accessibility-checker/test/baselines/JSONObjectStructureVerificationSelenium.html.json @@ -8,6 +8,10 @@ "0": "Elements with certain roles should have accessible names", "pass": "An accessible name is provided for the element" }, + "aria_attribute_required": { + "0": "The required attributes for the element with a role must be defined", + "pass": "The required attributes for the element with the role are defined" + }, "aria_content_in_landmark": { "0": "All content must reside within an element with a landmark role", "Pass_0": "Rule Passed" @@ -33,10 +37,6 @@ "Fail_2": "The <{0}> element has the id \"{1}\" that is already in use", "Pass_0": "Rule Passed" }, - "element_tabbable_unobscured": { - "0": "When an element receives focus, it is not entirely covered by other content", - "pass": "The element is not entirely covered by other content" - }, "element_tabbable_visible": { "0": "A tabbable element should be visible on the screen when it has keyboard focus", "pass": "The tabbable element is visible on the screen" @@ -65,6 +65,10 @@ "0": "Background images that convey important information must have a text alternative that describes the image", "Pass_0": "Rule Passed" }, + "label_name_visible": { + "0": "Accessible name must match or contain the visible label text", + "Pass_0": "Accessible name matches or contains the visible label text" + }, "page_title_exists": { "0": "The page should have a title that correctly identifies the subject of the page", "Pass_0": "Rule Passed" @@ -85,10 +89,6 @@ "0": "The keyboard focus indicator should be visible when default border or outline is modified by CSS", "pass_focus_visible": "The keyboard focus indicator is visible or is not changed from the browser default" }, - "target_spacing_sufficient": { - "0": "The target must be sufficiently sized or spaced from other targets", - "pass_spacing": "The target's spacing from other targets is sufficient" - }, "text_contrast_sufficient": { "0": "The contrast ratio of text with its background must meet WCAG AA requirements", "pass": "The contrast ratio of text with its background meets WCAG AA requirements" @@ -110,7 +110,7 @@ "pass": "Components with a widget role should have no more than one tabbable element" } }, - "numExecuted": 67, + "numExecuted": 64, "results": [ { "apiArgs": [], @@ -121,6 +121,7 @@ "width": 27332 }, "category": "Accessibility", + "level": "pass", "message": "Lang has a valid primary lang and conforms to BCP 47", "messageArgs": [], "path": { @@ -129,14 +130,13 @@ }, "reasonId": "Pass_0", "ruleId": "html_lang_valid", - "ruleTime": 1, + "ruleTime": 0, "snippet": "<html lang=\"en\">", "value": [ "VIOLATION", "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/html_lang_valid.html#%7B%22message%22%3A%22Lang%20has%20a%20valid%20primary%20lang%20and%20conforms%20to%20BCP%2047%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22html_lang_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -148,6 +148,7 @@ "width": 27332 }, "category": "Accessibility", + "level": "pass", "message": "Page language detected as \"en\"", "messageArgs": [ "en" @@ -165,7 +166,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20language%20detected%20as%20%5C%22en%5C%22%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22html_lang_exists%22%2C%22msgArgs%22%3A%5B%22en%22%5D%7D" }, { @@ -177,6 +177,7 @@ "width": 27332 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -192,7 +193,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/html_skipnav_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22html_skipnav_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -204,6 +204,7 @@ "width": 27332 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -219,7 +220,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/page_title_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22page_title_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -231,6 +231,7 @@ "width": 27332 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -246,7 +247,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chtml%20lang%3D%5C%22en%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -258,6 +258,7 @@ "width": 0 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -273,7 +274,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chead%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -285,33 +285,7 @@ "width": 0 }, "category": "Accessibility", - "message": "Rule Passed", - "messageArgs": [], - "path": { - "aria": "/document[1]", - "dom": "/html[1]/head[1]" - }, - "reasonId": "Pass_0", - "ruleId": "img_alt_background", - "ruleTime": 0, - "snippet": "<head>", - "value": [ - "RECOMMENDATION", - "PASS" - ], - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Chead%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "apiArgs": [], - "bounds": { - "height": 0, - "left": 0, - "top": 0, - "width": 0 - }, - "category": "Accessibility", "message": "Rule Passed", "messageArgs": [ "Helo World" @@ -329,7 +303,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/page_title_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ctitle%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22page_title_valid%22%2C%22msgArgs%22%3A%5B%22Helo%20World%22%5D%7D" }, { @@ -341,6 +314,7 @@ "width": 0 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -356,7 +330,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ctitle%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -368,33 +341,7 @@ "width": 0 }, "category": "Accessibility", - "message": "Rule Passed", - "messageArgs": [], - "path": { - "aria": "/document[1]", - "dom": "/html[1]/head[1]/title[1]" - }, - "reasonId": "Pass_0", - "ruleId": "img_alt_background", - "ruleTime": 0, - "snippet": "<title>", - "value": [ - "RECOMMENDATION", - "PASS" - ], - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ctitle%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "apiArgs": [], - "bounds": { - "height": 0, - "left": 0, - "top": 0, - "width": 0 - }, - "category": "Accessibility", "message": "Rule Passed", "messageArgs": [], "path": { @@ -410,7 +357,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20charset%3D%5C%22utf-8%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -422,33 +368,7 @@ "width": 0 }, "category": "Accessibility", - "message": "Rule Passed", - "messageArgs": [], - "path": { - "aria": "/document[1]", - "dom": "/html[1]/head[1]/meta[1]" - }, - "reasonId": "Pass_0", - "ruleId": "img_alt_background", - "ruleTime": 0, - "snippet": "<meta charset=\"utf-8\">", - "value": [ - "RECOMMENDATION", - "PASS" - ], - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20charset%3D%5C%22utf-8%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "apiArgs": [], - "bounds": { - "height": 0, - "left": 0, - "top": 0, - "width": 0 - }, - "category": "Accessibility", "message": "Rule Passed", "messageArgs": [], "path": { @@ -464,36 +384,8 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20content%3D%5C%22text%5C%22%20name%3D%5C%22Description%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, - { - "apiArgs": [], - "bounds": { - "height": 0, - "left": 0, - "top": 0, - "width": 0 - }, - "category": "Accessibility", - "message": "Rule Passed", - "messageArgs": [], - "path": { - "aria": "/document[1]", - "dom": "/html[1]/head[1]/meta[2]" - }, - "reasonId": "Pass_0", - "ruleId": "img_alt_background", - "ruleTime": 0, - "snippet": "<meta content=\"text\" name=\"Description\">", - "value": [ - "RECOMMENDATION", - "PASS" - ], - "ignored": false, - "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cmeta%20content%3D%5C%22text%5C%22%20name%3D%5C%22Description%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, { "apiArgs": [], "bounds": { @@ -503,6 +395,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -518,7 +411,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/skip_main_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22skip_main_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -530,6 +422,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -545,7 +438,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/skip_main_described.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22skip_main_described%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -557,6 +449,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -572,7 +465,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -584,6 +476,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -599,7 +492,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -611,6 +503,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -626,7 +519,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cbody%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -638,6 +530,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -653,7 +546,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_allowed.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_role_allowed%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -665,6 +557,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -680,7 +573,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_keyboard_handler_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -692,6 +584,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "An explicitly-assigned ARIA role is not redundant with the implicit role of the element", "messageArgs": [], "path": { @@ -707,7 +600,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_redundant.html#%7B%22message%22%3A%22An%20explicitly-assigned%20ARIA%20role%20is%20not%20redundant%20with%20the%20implicit%20role%20of%20the%20element%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_role_redundant%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -719,6 +611,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [ "navigation", @@ -737,7 +630,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_role_valid%22%2C%22msgArgs%22%3A%5B%22navigation%22%2C%22div%22%5D%7D" }, { @@ -749,6 +641,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -764,7 +657,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -776,6 +668,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -791,7 +684,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -803,6 +695,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -818,7 +711,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -827,26 +719,26 @@ "height": 37, "left": 16, "top": 16, - "width": 112 + "width": 27300 }, "category": "Accessibility", - "message": "Rule Passed", + "level": "pass", + "message": "The required attributes for the element with the role are defined", "messageArgs": [], "path": { - "aria": "/document[1]/navigation[1]/link[1]", - "dom": "/html[1]/body[1]/div[1]/a[1]" + "aria": "/document[1]/navigation[1]", + "dom": "/html[1]/body[1]/div[1]" }, - "reasonId": "Pass_0", - "ruleId": "aria_content_in_landmark", + "reasonId": "pass", + "ruleId": "aria_attribute_required", "ruleTime": 0, - "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", + "snippet": "<div role=\"navigation\">", "value": [ "VIOLATION", "PASS" ], "ignored": false, - "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_attribute_required.html#%7B%22message%22%3A%22The%20required%20attributes%20for%20the%20element%20with%20the%20role%20are%20defined%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22navigation%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_attribute_required%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { "apiArgs": [], @@ -857,14 +749,15 @@ "width": 112 }, "category": "Accessibility", - "message": "The element is not entirely covered by other content", + "level": "pass", + "message": "Rule Passed", "messageArgs": [], "path": { "aria": "/document[1]/navigation[1]/link[1]", "dom": "/html[1]/body[1]/div[1]/a[1]" }, - "reasonId": "pass", - "ruleId": "element_tabbable_unobscured", + "reasonId": "Pass_0", + "ruleId": "aria_content_in_landmark", "ruleTime": 0, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "value": [ @@ -872,8 +765,7 @@ "PASS" ], "ignored": false, - "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/element_tabbable_unobscured.html#%7B%22message%22%3A%22The%20element%20is%20not%20entirely%20covered%20by%20other%20content%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22element_tabbable_unobscured%22%2C%22msgArgs%22%3A%5B%5D%7D" + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { "apiArgs": [], @@ -884,6 +776,7 @@ "width": 112 }, "category": "Accessibility", + "level": "pass", "message": "The tabbable element is visible on the screen", "messageArgs": [], "path": { @@ -899,7 +792,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/element_tabbable_visible.html#%7B%22message%22%3A%22The%20tabbable%20element%20is%20visible%20on%20the%20screen%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22element_tabbable_visible%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -911,6 +803,7 @@ "width": 112 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -926,7 +819,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -938,6 +830,7 @@ "width": 112 }, "category": "Accessibility", + "level": "pass", "message": "The keyboard focus indicator is visible or is not changed from the browser default", "messageArgs": [], "path": { @@ -953,7 +846,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/style_focus_visible.html#%7B%22message%22%3A%22The%20keyboard%20focus%20indicator%20is%20visible%20or%20is%20not%20changed%20from%20the%20browser%20default%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass_focus_visible%22%2C%22ruleId%22%3A%22style_focus_visible%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -965,33 +857,7 @@ "width": 112 }, "category": "Accessibility", - "message": "The target's spacing from other targets is sufficient", - "messageArgs": [], - "path": { - "aria": "/document[1]/navigation[1]/link[1]", - "dom": "/html[1]/body[1]/div[1]/a[1]" - }, - "reasonId": "pass_spacing", - "ruleId": "target_spacing_sufficient", - "ruleTime": 0, - "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", - "value": [ - "VIOLATION", - "PASS" - ], - "ignored": false, "level": "pass", - "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/target_spacing_sufficient.html#%7B%22message%22%3A%22The%20target's%20spacing%20from%20other%20targets%20is%20sufficient%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass_spacing%22%2C%22ruleId%22%3A%22target_spacing_sufficient%22%2C%22msgArgs%22%3A%5B%5D%7D" - }, - { - "apiArgs": [], - "bounds": { - "height": 37, - "left": 16, - "top": 16, - "width": 112 - }, - "category": "Accessibility", "message": "The contrast ratio of text with its background meets WCAG AA requirements", "messageArgs": [ "9.40", @@ -1008,14 +874,13 @@ }, "reasonId": "pass", "ruleId": "text_contrast_sufficient", - "ruleTime": 1, + "ruleTime": 0, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "value": [ "VIOLATION", "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20contrast%20ratio%20of%20text%20with%20its%20background%20meets%20WCAG%20AA%20requirements%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_contrast_sufficient%22%2C%22msgArgs%22%3A%5B%229.40%22%2C16%2C400%2C%22%230000ee%22%2C%22%23ffffff%22%2Cfalse%2Cfalse%5D%7D" }, { @@ -1027,6 +892,7 @@ "width": 112 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1042,7 +908,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1054,6 +919,7 @@ "width": 112 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1069,7 +935,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1081,6 +946,7 @@ "width": 112 }, "category": "Accessibility", + "level": "pass", "message": "Hyperlink has a description of its purpose", "messageArgs": [], "path": { @@ -1096,7 +962,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20a%20description%20of%20its%20purpose%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22a_text_purpose%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1108,6 +973,34 @@ "width": 112 }, "category": "Accessibility", + "level": "pass", + "message": "Accessible name matches or contains the visible label text", + "messageArgs": [], + "path": { + "aria": "/document[1]/navigation[1]/link[1]", + "dom": "/html[1]/body[1]/div[1]/a[1]" + }, + "reasonId": "Pass_0", + "ruleId": "label_name_visible", + "ruleTime": 0, + "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", + "value": [ + "VIOLATION", + "PASS" + ], + "ignored": false, + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/label_name_visible.html#%7B%22message%22%3A%22Accessible%20name%20matches%20or%20contains%20the%20visible%20label%20text%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22label_name_visible%22%2C%22msgArgs%22%3A%5B%5D%7D" + }, + { + "apiArgs": [], + "bounds": { + "height": 37, + "left": 16, + "top": 16, + "width": 112 + }, + "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1116,14 +1009,13 @@ }, "reasonId": "pass", "ruleId": "widget_tabbable_exists", - "ruleTime": 0, + "ruleTime": 1, "snippet": "<a alt=\"skip to main content\" href=\"#navskip\">", "value": [ "VIOLATION", "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/widget_tabbable_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22widget_tabbable_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1135,6 +1027,7 @@ "width": 112 }, "category": "Accessibility", + "level": "pass", "message": "Components with a widget role should have no more than one tabbable element", "messageArgs": [], "path": { @@ -1150,7 +1043,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Components%20with%20a%20widget%20role%20should%20have%20no%20more%20than%20one%20tabbable%20element%22%2C%22snippet%22%3A%22%3Ca%20alt%3D%5C%22skip%20to%20main%20content%5C%22%20href%3D%5C%22%23navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22widget_tabbable_single%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1162,6 +1054,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1177,7 +1070,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_allowed.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_role_allowed%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1189,6 +1081,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1204,7 +1097,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_keyboard_handler_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1216,6 +1108,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "An explicitly-assigned ARIA role is not redundant with the implicit role of the element", "messageArgs": [], "path": { @@ -1231,7 +1124,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_redundant.html#%7B%22message%22%3A%22An%20explicitly-assigned%20ARIA%20role%20is%20not%20redundant%20with%20the%20implicit%20role%20of%20the%20element%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_role_redundant%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1243,6 +1135,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [ "main", @@ -1261,7 +1154,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_role_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_role_valid%22%2C%22msgArgs%22%3A%5B%22main%22%2C%22div%22%5D%7D" }, { @@ -1273,6 +1165,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1288,7 +1181,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1300,6 +1192,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1315,7 +1208,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1327,6 +1219,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1342,9 +1235,35 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, + { + "apiArgs": [], + "bounds": { + "height": 74, + "left": 16, + "top": 96, + "width": 27300 + }, + "category": "Accessibility", + "level": "pass", + "message": "The required attributes for the element with the role are defined", + "messageArgs": [], + "path": { + "aria": "/document[1]/main[1]", + "dom": "/html[1]/body[1]/div[2]" + }, + "reasonId": "pass", + "ruleId": "aria_attribute_required", + "ruleTime": 0, + "snippet": "<div role=\"main\">", + "value": [ + "VIOLATION", + "PASS" + ], + "ignored": false, + "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_attribute_required.html#%7B%22message%22%3A%22The%20required%20attributes%20for%20the%20element%20with%20the%20role%20are%20defined%22%2C%22snippet%22%3A%22%3Cdiv%20role%3D%5C%22main%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_attribute_required%22%2C%22msgArgs%22%3A%5B%5D%7D" + }, { "apiArgs": [], "bounds": { @@ -1354,6 +1273,7 @@ "width": 0 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1369,7 +1289,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20name%3D%5C%22navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1381,6 +1300,7 @@ "width": 0 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1396,7 +1316,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20name%3D%5C%22navskip%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1408,6 +1327,7 @@ "width": 0 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1423,7 +1343,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20name%3D%5C%22navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1435,6 +1354,7 @@ "width": 0 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1450,7 +1370,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ca%20name%3D%5C%22navskip%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1462,6 +1381,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Heading element has descriptive text", "messageArgs": [], "path": { @@ -1477,7 +1397,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/heading_content_exists.html#%7B%22message%22%3A%22Heading%20element%20has%20descriptive%20text%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22heading_content_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1489,6 +1408,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1504,7 +1424,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/heading_markup_misuse.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22heading_markup_misuse%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1516,6 +1435,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1531,7 +1451,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1543,6 +1462,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1558,7 +1478,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1570,6 +1489,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "The contrast ratio of text with its background meets WCAG AA requirements", "messageArgs": [ "21.00", @@ -1586,14 +1506,13 @@ }, "reasonId": "pass", "ruleId": "text_contrast_sufficient", - "ruleTime": 0, + "ruleTime": 1, "snippet": "<h1>", "value": [ "VIOLATION", "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20contrast%20ratio%20of%20text%20with%20its%20background%20meets%20WCAG%20AA%20requirements%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_contrast_sufficient%22%2C%22msgArgs%22%3A%5B%2221.00%22%2C32%2C700%2C%22%23000000%22%2C%22%23ffffff%22%2Cfalse%2Cfalse%5D%7D" }, { @@ -1605,6 +1524,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1620,7 +1540,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1632,6 +1551,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1647,7 +1567,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1659,6 +1578,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "An accessible name is provided for the element", "messageArgs": [], "path": { @@ -1674,7 +1594,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22An%20accessible%20name%20is%20provided%20for%20the%20element%22%2C%22snippet%22%3A%22%3Ch1%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22aria_accessiblename_exists%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1686,6 +1605,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1701,7 +1621,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1713,6 +1632,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1728,7 +1648,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/element_id_unique.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22element_id_unique%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1740,6 +1659,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1755,7 +1675,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1767,6 +1686,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1782,7 +1702,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1794,6 +1713,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1809,7 +1729,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1821,6 +1740,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1836,7 +1756,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22aria_content_in_landmark%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1848,6 +1767,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "violation", "message": "The <div> element has the id \"firstDiv\" that is already in use", "messageArgs": [ "div", @@ -1866,7 +1786,6 @@ "FAIL" ], "ignored": true, - "level": "violation", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/element_id_unique.html#%7B%22message%22%3A%22The%20%3Cdiv%3E%20element%20has%20the%20id%20%5C%22firstDiv%5C%22%20that%20is%20already%20in%20use%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%2C%22ruleId%22%3A%22element_id_unique%22%2C%22msgArgs%22%3A%5B%22div%22%2C%22firstDiv%22%5D%7D" }, { @@ -1878,6 +1797,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1893,7 +1813,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/img_alt_background.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22img_alt_background%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1905,6 +1824,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1920,7 +1840,6 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_quoted_correctly.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22Pass_0%22%2C%22ruleId%22%3A%22text_quoted_correctly%22%2C%22msgArgs%22%3A%5B%5D%7D" }, { @@ -1932,6 +1851,7 @@ "width": 27300 }, "category": "Accessibility", + "level": "pass", "message": "Rule Passed", "messageArgs": [], "path": { @@ -1947,25 +1867,24 @@ "PASS" ], "ignored": false, - "level": "pass", "help": "https://able.ibm.com/rules/archives/preview/doc/en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Rule%20Passed%22%2C%22snippet%22%3A%22%3Cdiv%20id%3D%5C%22firstDiv%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22PASS%22%5D%2C%22reasonId%22%3A%22pass%22%2C%22ruleId%22%3A%22text_whitespace_valid%22%2C%22msgArgs%22%3A%5B%5D%7D" } ], "ruleTime": 2, "summary": { "counts": { - "violation": 0, - "potentialviolation": 0, - "recommendation": 0, - "potentialrecommendation": 0, - "manual": 0, - "pass": 66, "ignored": 1, "elements": 13, "elementsViolation": 0, - "elementsViolationReview": 0 + "elementsViolationReview": 0, + "manual": 0, + "pass": 63, + "potentialrecommendation": 0, + "potentialviolation": 0, + "recommendation": 0, + "violation": 0 }, - "scanTime": 16, + "scanTime": 15, "ruleArchive": "Preview Rules (preview)", "policies": [ "IBM_Accessibility" @@ -1978,10 +1897,10 @@ "manual", "pass" ], - "startScan": 1727716395161, - "URL": "file:///Users/thbrunet/Tom/Git/equal-access/accessibility-checker/test/mocha/aChecker.Slow1/aChecker.ObjectStructure/JSONObjectStructureVerificationSelenium.html" + "startScan": 1729697184987, + "URL": "file:///Users/shunguoyan/git/equal-access/accessibility-checker/test/mocha/aChecker.Slow1/aChecker.ObjectStructure/JSONObjectStructureVerificationSelenium.html" }, - "scanID": "63de2de2-a0ad-4b49-81bf-83ba4a3e9a0a", + "scanID": "e6ce3768-82c9-4aa8-a23f-b5da7efa882f", "toolID": "accessibility-checker-v3.0.0", "label": "JSONObjectStructureVerificationSelenium.html" } \ No newline at end of file diff --git a/accessibility-checker/test/mocha/aChecker.Fast/aChecker.Baselines/aChecker.Baseline.test.js b/accessibility-checker/test/mocha/aChecker.Fast/aChecker.Baselines/aChecker.Baseline.test.js index 9008f471b..37bf99992 100644 --- a/accessibility-checker/test/mocha/aChecker.Fast/aChecker.Baselines/aChecker.Baseline.test.js +++ b/accessibility-checker/test/mocha/aChecker.Fast/aChecker.Baselines/aChecker.Baseline.test.js @@ -78,7 +78,7 @@ describe("Baseline testing", function () { let result = await aChecker.getCompliance(unitTestDataFileContent, "Baseline_" + labelName); let assertVal = aChecker.assertCompliance(result.report); if (assertVal !== codes[unitTestFile]) { - //console.log("inspect result", util.inspect(result.report, null, 6)); + console.log("inspect result", util.inspect(result.report, null, 6)); } expect(assertVal).to.equal(codes[unitTestFile]); });