diff --git a/accessibility-checker-engine/help-v4/en-US/meta_viewport_zoomable.html b/accessibility-checker-engine/help-v4/en-US/meta_viewport_zoomable.html
index 1bfcfaa20..d4ce1ebfe 100644
--- a/accessibility-checker-engine/help-v4/en-US/meta_viewport_zoomable.html
+++ b/accessibility-checker-engine/help-v4/en-US/meta_viewport_zoomable.html
@@ -51,9 +51,7 @@
Only users with older mobile browsers can experience issues tested by this rule.
This rule is designed specifically for testing [1.4.4 Resize text](https://www.ibm.com/able/requirements/requirements/#1_4_4),
-which requires that text can be resized up to 200%.
-Because text that cannot be resized up to 200% cannot fit in an area of 320 by 256 CSS pixels,
-this rule maps to [1.4.10 Reflow](https://www.ibm.com/able/requirements/requirements/#1_4_10) as well.
+which requires that text can be resized up to 200%.
@@ -76,7 +74,6 @@
### About this requirement
* [IBM 1.4.4 Resize text](https://www.ibm.com/able/requirements/requirements/#1_4_4)
-* [IBM 1.4.10 Reflow](https://www.ibm.com/able/requirements/requirements/#1_4_10)
* [ACT rule: meta viewport allows for zoom](https://act-rules.github.io/rules/b4f0c3)
### Who does this affect?
diff --git a/accessibility-checker-engine/help-v4/en-US/widget_tabbable_single.html b/accessibility-checker-engine/help-v4/en-US/widget_tabbable_single.html
index 59a1e8ca0..826ee463e 100644
--- a/accessibility-checker-engine/help-v4/en-US/widget_tabbable_single.html
+++ b/accessibility-checker-engine/help-v4/en-US/widget_tabbable_single.html
@@ -47,7 +47,8 @@
The primary keyboard navigation convention uses `Tab` and `Shift+Tab` keys to move focus from one UI component to another.
Other keys (primarily the arrow keys) move focus within components comprised of multiple focusable elements.
-Authors must follow this convention and provide no more than one tab stop per component (providing keyboard focus).
+Authors must follow this convention and provide no more than one tab stop per component (providing keyboard focus) and insure the keyboard tab sequence is logical.
+In addition, the keyboard operations should be consistent with common keyboard interface conventions described in the [ARIA Patterns](https://www.w3.org/WAI/ARIA/apg/patterns/), especially for assistive technology users.
@@ -68,7 +69,11 @@
### About this requirement
* [IBM 2.1.1 Keyboard](https://www.ibm.com/able/requirements/requirements/#2_1_1)
+* [IBM 2.4.3 Focus Order](https://www.ibm.com/able/requirements/requirements/#2_4_3)
+* [ARIA practices - Patterns](https://www.w3.org/WAI/ARIA/apg/patterns/)
* [ARIA practices - Developing a Keyboard Interface](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/)
+* [Verify - Check tab or navigation order](https://www.ibm.com/able/toolkit/verify/manual/#tabnavorder)
+* [Verify - Maintaining user's point of regard](https://www.ibm.com/able/toolkit/verify/manual/#pointofregard)
### Who does this affect?
diff --git a/accessibility-checker-engine/src/v4/rules/a_text_purpose.ts b/accessibility-checker-engine/src/v4/rules/a_text_purpose.ts
index 4dfab036c..1e5b25e43 100644
--- a/accessibility-checker-engine/src/v4/rules/a_text_purpose.ts
+++ b/accessibility-checker-engine/src/v4/rules/a_text_purpose.ts
@@ -12,7 +12,7 @@
*****************************************************************************/
import { ARIAMapper } from "../../v2/aria/ARIAMapper";
-import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule";
+import { Rule, RuleResult, RuleFail, RuleContext, RulePass } from "../api/IRule";
import { RPTUtil } from "../../v2/checker/accessibility/util/legacy";
import { VisUtil } from "../../v2/dom/VisUtil";
import { eRulePolicy, eToolkitLevel } from "../api/IRule";
@@ -23,22 +23,22 @@ export let a_text_purpose: Rule = {
context: "aria:link,aria:doc-biblioref",
refactor: {
"WCAG20_A_HasText": {
- "Pass_0": "Pass_0",
- "Fail_1": "Fail_1"
+ "Pass_0": "pass",
+ "Fail_1": "fail_acc_name"
}
},
help: {
"en-US": {
"group": `a_text_purpose.html`,
- "Pass_0": `a_text_purpose.html`,
- "Fail_1": `a_text_purpose.html`
+ "pass": `a_text_purpose.html`,
+ "fail_acc_name": `a_text_purpose.html`
}
},
messages: {
"en-US": {
"group": "Hyperlinks must have an accessible name for their purpose",
- "Pass_0": "Hyperlink has a description of its purpose",
- "Fail_1": "Hyperlink has no link text, label or image with a text alternative"
+ "pass": "Hyperlink has a description of its purpose",
+ "fail_acc_name": "Hyperlink has no link text, label or image with a text alternative"
}
},
rulesets: [{
@@ -62,9 +62,9 @@ export let a_text_purpose: Rule = {
ARIAMapper.computeName(ruleContext).trim().length > 0
|| RPTUtil.nonTabableChildCheck(ruleContext);
if (!passed) {
- return RuleFail("Fail_1");
+ return RuleFail("fail_acc_name");
} else {
- return RulePass("Pass_0");
+ return RulePass("pass");
}
}
}
diff --git a/accessibility-checker-engine/src/v4/rules/meta_viewport_zoomable.ts b/accessibility-checker-engine/src/v4/rules/meta_viewport_zoomable.ts
index d323ce576..aae28cbdf 100644
--- a/accessibility-checker-engine/src/v4/rules/meta_viewport_zoomable.ts
+++ b/accessibility-checker-engine/src/v4/rules/meta_viewport_zoomable.ts
@@ -11,31 +11,30 @@
limitations under the License.
*****************************************************************************/
-import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule";
+import { Rule, RuleResult, RuleContext, RulePotential, RulePass, RuleContextHierarchy } from "../api/IRule";
import { eRulePolicy, eToolkitLevel } from "../api/IRule";
-import { RPTUtil } from "../../v2/checker/accessibility/util/legacy";
export let meta_viewport_zoomable: Rule = {
id: "meta_viewport_zoomable",
context: "dom:meta[name][content]",
refactor: {
"meta_viewport_zoom": {
- "Pass_0": "Pass_0",
- "Potential_1": "Potential_1"
+ "Pass_0": "pass",
+ "Potential_1": "potential_zoomable"
}
},
help: {
"en-US": {
"group": "meta_viewport_zoomable.html",
- "Pass_0": "meta_viewport_zoomable.html",
- "Potential_1": "meta_viewport_zoomable.html"
+ "pass": "meta_viewport_zoomable.html",
+ "potential_zoomable": "meta_viewport_zoomable.html"
}
},
messages: {
"en-US": {
"group": "The 'meta[name=viewport]' should not prevent the browser zooming the content",
- "Pass_0": "The 'meta[name=viewport]' does not prevent the browser zooming the content",
- "Potential_1": "Confirm the 'meta[name=viewport]' with \"{0}\" can be zoomed by user"
+ "pass": "The 'meta[name=viewport]' does not prevent the browser zooming the content",
+ "potential_zoomable": "Confirm the 'meta[name=viewport]' with \"{0}\" can be zoomed by user"
}
},
rulesets: [{
@@ -43,12 +42,6 @@ export let meta_viewport_zoomable: Rule = {
"num": ["1.4.4"],
"level": eRulePolicy.RECOMMENDATION,
"toolkitLevel": eToolkitLevel.LEVEL_THREE
- },
- {
- "id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_2"],
- "num": ["1.4.10"],
- "level": eRulePolicy.RECOMMENDATION,
- "toolkitLevel": eToolkitLevel.LEVEL_THREE
}],
act: [{
"b4f0c3": {
@@ -107,12 +100,12 @@ export let meta_viewport_zoomable: Rule = {
// user-scalable is not set to 'yes', ignore maximum_scale
if (user_scale_value !== 'yes') {
- return RulePotential("Potential_1", [user_msg]);
+ return RulePotential("potential_zoomable", [user_msg]);
}
// user-scalable is 'yes', but maximum_scale is too small
if (maximum_scale < 2.0) {
- return RulePotential("Potential_1", [max_msg]);
+ return RulePotential("potential_zoomable", [max_msg]);
}
- return RulePass("Pass_0");
+ return RulePass("pass");
}
}
\ No newline at end of file
diff --git a/accessibility-checker-engine/src/v4/rules/widget_tabbable_exists.ts b/accessibility-checker-engine/src/v4/rules/widget_tabbable_exists.ts
index 38d50b61d..9174b58f8 100644
--- a/accessibility-checker-engine/src/v4/rules/widget_tabbable_exists.ts
+++ b/accessibility-checker-engine/src/v4/rules/widget_tabbable_exists.ts
@@ -41,7 +41,7 @@ export let widget_tabbable_exists: Rule = {
},
rulesets: [{
"id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"],
- "num": ["2.4.3"],
+ "num": ["2.1.1"],
"level": eRulePolicy.VIOLATION,
"toolkitLevel": eToolkitLevel.LEVEL_ONE
}],
@@ -87,4 +87,4 @@ export let widget_tabbable_exists: Rule = {
let passed = count >= 1;
return passed ? RulePass("pass") : RulePotential("fail_no_tabbable", [role]);
}
-}
\ No newline at end of file
+}
diff --git a/accessibility-checker-engine/src/v4/rules/widget_tabbable_single.ts b/accessibility-checker-engine/src/v4/rules/widget_tabbable_single.ts
index c0ca94553..04de68b81 100644
--- a/accessibility-checker-engine/src/v4/rules/widget_tabbable_single.ts
+++ b/accessibility-checker-engine/src/v4/rules/widget_tabbable_single.ts
@@ -43,7 +43,7 @@ export let widget_tabbable_single: Rule = {
},
rulesets: [{
"id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"],
- "num": ["2.4.3"],
+ "num": ["2.1.1", "2.4.3"],
"level": eRulePolicy.VIOLATION,
"toolkitLevel": eToolkitLevel.LEVEL_ONE
}],
@@ -79,4 +79,4 @@ export let widget_tabbable_single: Rule = {
setCache(ruleContext, "widget_tabbable_single", "fail_multiple_tabbable");
return passed ? RulePass("pass") : RulePotential("fail_multiple_tabbable", [role]);
}
-}
\ No newline at end of file
+}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-nonTabable.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-nonTabable.html
index cb7dfc28e..309b70edd 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-nonTabable.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-nonTabable.html
@@ -83,7 +83,7 @@
"dom": "/html[1]/body[1]/a[1]",
"aria": "/document[1]/link[1]"
},
- "reasonId": "Fail_1",
+ "reasonId": "fail_acc_name",
//"message": "Hyperlink is missing link text or an image with alt text.",
"message": "Hyperlink has no link text, label or image with a text alternative",
"messageArgs": [],
@@ -98,7 +98,7 @@
"dom": "/html[1]/body[1]/a[2]",
"aria": "/document[1]/link[2]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
//"message": "Hyperlink contains content that is readable by assistive technologies.",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
@@ -113,7 +113,7 @@
"dom": "/html[1]/body[1]/a[3]",
"aria": "/document[1]/link[3]"
},
- "reasonId": "Fail_1",
+ "reasonId": "fail_acc_name",
//"message": "Hyperlink is missing link text or an image with alt text.",
"message": "Hyperlink has no link text, label or image with a text alternative",
"messageArgs": [],
@@ -128,7 +128,7 @@
"dom": "/html[1]/body[1]/a[4]",
"aria": "/document[1]/link[4]"
},
- "reasonId": "Fail_1",
+ "reasonId": "fail_acc_name",
//"message": "Hyperlink is missing link text or an image with alt text.",
"message": "Hyperlink has no link text, label or image with a text alternative",
"messageArgs": [],
@@ -143,7 +143,7 @@
"dom": "/html[1]/body[1]/a[5]",
"aria": "/document[1]/link[5]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
//"message": "Hyperlink contains content that is readable by assistive technologies.",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-error1.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-error1.html
index c8a2cc0b3..aedd0c022 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-error1.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-error1.html
@@ -42,7 +42,7 @@
"dom": "/html[1]/body[1]/main[1]/div[1]/a[1]",
"aria": "/document[1]/main[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
@@ -58,7 +58,7 @@
"dom": "/html[1]/body[1]/main[1]/div[2]/#document-fragment[1]/div[1]/a[1]",
"aria": "/document[1]/main[1]/link[2]"
},
- "reasonId": "Fail_1",
+ "reasonId": "fail_acc_name",
"message": "Hyperlink has no link text, label or image with a text alternative",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-error2.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-error2.html
index 2c96cd71b..03444d814 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-error2.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-error2.html
@@ -43,7 +43,7 @@
"dom": "/html[1]/body[1]/main[1]/div[1]/a[1]",
"aria": "/document[1]/main[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
@@ -59,7 +59,7 @@
"dom": "/html[1]/body[1]/main[1]/div[2]/#document-fragment[1]/div[1]/a[1]",
"aria": "/document[1]/main[1]/link[2]"
},
- "reasonId": "Fail_1",
+ "reasonId": "fail_acc_name",
"message": "Hyperlink has no link text, label or image with a text alternative",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-pass.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-pass.html
index e5c591799..272d448b9 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-pass.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-pass.html
@@ -44,7 +44,7 @@
"dom": "/html[1]/body[1]/main[1]/div[1]/a[1]",
"aria": "/document[1]/main[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
@@ -60,7 +60,7 @@
"dom": "/html[1]/body[1]/main[1]/div[2]/#document-fragment[1]/div[1]/a[1]",
"aria": "/document[1]/main[1]/link[2]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-pass1.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-pass1.html
index 38e4eb80d..e500b14c9 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-pass1.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-slot-text-pass1.html
@@ -44,7 +44,7 @@
"dom": "/html[1]/body[1]/main[1]/div[1]/a[1]",
"aria": "/document[1]/main[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
@@ -60,7 +60,7 @@
"dom": "/html[1]/body[1]/main[1]/div[2]/#document-fragment[1]/div[1]/a[1]",
"aria": "/document[1]/main[1]/link[2]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/Hyperlinks_img.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/Hyperlinks_img.html
index a10d8c0fe..e84171c4a 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/Hyperlinks_img.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/Hyperlinks_img.html
@@ -57,7 +57,7 @@
"dom": "/html[1]/body[1]/a[1]",
"aria": "/document[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
//"message": "Hyperlink contains content that is readable by assistive technologies.",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
@@ -70,7 +70,7 @@
"dom": "/html[1]/body[1]/a[2]",
"aria": "/document[1]/link[2]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
//"message": "Hyperlink contains content that is readable by assistive technologies.",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/a-with-slot.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/a-with-slot.html
index c1a2eaf9f..ce60ad6e8 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/a-with-slot.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/a-with-slot.html
@@ -46,7 +46,7 @@ Test page
"dom": "/html[1]/body[1]/main[1]/my-link[1]/#document-fragment[1]/a[1]",
"aria": "/document[1]/main[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/svg-title.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/svg-title.html
index 39de31992..87196547d 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/svg-title.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/svg-title.html
@@ -57,7 +57,7 @@
"dom": "/html[1]/body[1]/header[1]/a[1]",
"aria": "/document[1]/banner[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
@@ -73,7 +73,7 @@
"dom": "/html[1]/body[1]/header[2]/a[1]",
"aria": "/document[1]/banner[2]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/webComponent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/webComponent.html
index 8ed3e632c..8f5a7d68c 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/webComponent.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/webComponent.html
@@ -46,7 +46,7 @@ Test page
"dom": "/html[1]/body[1]/main[1]/my-link[1]/#document-fragment[1]/a[1]",
"aria": "/document[1]/main[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.0.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.0.html
index 4f54573cc..248e0b1de 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.0.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.0.html
@@ -42,7 +42,7 @@
"dom": "/html[1]/head[1]/meta[2]",
"aria": "/document[1]"
},
- "reasonId": "Potential_1",
+ "reasonId": "potential_zoomable",
"message": "Confirm the 'meta[name=viewport]' with \"maximum-scale=1.0\" can be zoomed by user",
"messageArgs": [
"maximum-scale=1.0"
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.5.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.5.html
index 5e0d44902..bba8b66c6 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.5.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.5.html
@@ -41,7 +41,7 @@
"dom": "/html[1]/head[1]/meta[2]",
"aria": "/document[1]"
},
- "reasonId": "Potential_1",
+ "reasonId": "potential_zoomable",
"message": "Confirm the 'meta[name=viewport]' with \" maximum-scale=1.5\" can be zoomed by user",
"messageArgs": [
" maximum-scale=1.5"
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_unknown_maximum_user_scale.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_unknown_maximum_user_scale.html
index 16d2dcec8..2fb3842b9 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_unknown_maximum_user_scale.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_unknown_maximum_user_scale.html
@@ -41,7 +41,7 @@
"dom": "/html[1]/head[1]/meta[2]",
"aria": "/document[1]"
},
- "reasonId": "Potential_1",
+ "reasonId": "potential_zoomable",
"message": "Confirm the 'meta[name=viewport]' with \"maximum-scale=ok\" can be zoomed by user",
"messageArgs": [
"maximum-scale=ok"
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_user_scale_no.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_user_scale_no.html
index 4c39b222b..a536d0119 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_user_scale_no.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_user_scale_no.html
@@ -41,7 +41,7 @@
"dom": "/html[1]/head[1]/meta[2]",
"aria": "/document[1]"
},
- "reasonId": "Potential_1",
+ "reasonId": "potential_zoomable",
"message": "Confirm the 'meta[name=viewport]' with \"user-scalable=no\" can be zoomed by user",
"messageArgs": [
"user-scalable=no"
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_yes_maximum_user_scale.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_yes_maximum_user_scale.html
index bb734a7a8..3351c613d 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_yes_maximum_user_scale.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_yes_maximum_user_scale.html
@@ -42,7 +42,7 @@
"dom": "/html[1]/head[1]/meta[2]",
"aria": "/document[1]"
},
- "reasonId": "Potential_1",
+ "reasonId": "potential_zoomable",
"message": "Confirm the 'meta[name=viewport]' with \"maximum-scale=yes\" can be zoomed by user",
"messageArgs": [
"maximum-scale=yes"
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_allow_user_scale.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_allow_user_scale.html
index 6bbcb081e..715c994aa 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_allow_user_scale.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_allow_user_scale.html
@@ -41,7 +41,7 @@
"dom": "/html[1]/head[1]/meta[2]",
"aria": "/document[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "The 'meta[name=viewport]' does not prevent the browser zooming the content",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_enough_maxium_user_scale.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_enough_maxium_user_scale.html
index 711080142..85e5d1187 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_enough_maxium_user_scale.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_enough_maxium_user_scale.html
@@ -41,7 +41,7 @@
"dom": "/html[1]/head[1]/meta[2]",
"aria": "/document[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "The 'meta[name=viewport]' does not prevent the browser zooming the content",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_ignored_maximum_user_scale.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_ignored_maximum_user_scale.html
index ee32fb527..134a2be9c 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_ignored_maximum_user_scale.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_pass_ignored_maximum_user_scale.html
@@ -41,7 +41,7 @@
"dom": "/html[1]/head[1]/meta[2]",
"aria": "/document[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "The 'meta[name=viewport]' does not prevent the browser zooming the content",
"messageArgs": [],
"apiArgs": [],
diff --git a/accessibility-checker/test/baselines/JSONObjectStructureVerification.html.json b/accessibility-checker/test/baselines/JSONObjectStructureVerification.html.json
index 7bb063c6c..15073d5b7 100644
--- a/accessibility-checker/test/baselines/JSONObjectStructureVerification.html.json
+++ b/accessibility-checker/test/baselines/JSONObjectStructureVerification.html.json
@@ -1256,7 +1256,7 @@
"dom": "/html[1]/body[1]/div[1]/a[1]",
"aria": "/document[1]/navigation[1]/link[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"message": "Hyperlink has a description of its purpose",
"messageArgs": [],
"apiArgs": [],
@@ -1270,7 +1270,7 @@
"category": "Accessibility",
"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_0%22%2C%22ruleId%22%3A%22a_text_purpose%22%2C%22msgArgs%22%3A%5B%5D%7D"
+ "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": "text_whitespace_valid",
@@ -1797,7 +1797,7 @@
},
"a_text_purpose": {
"0": "Hyperlinks must have an accessible name for their purpose",
- "Pass_0": "Hyperlink has a description of its purpose"
+ "pass": "Hyperlink has a description of its purpose"
},
"widget_tabbable_exists": {
"0": "Component must have at least one tabbable element",
diff --git a/accessibility-checker/test/baselines/JSONObjectStructureVerificationSelenium.html.json b/accessibility-checker/test/baselines/JSONObjectStructureVerificationSelenium.html.json
index 8c90727d2..3caffcc3d 100644
--- a/accessibility-checker/test/baselines/JSONObjectStructureVerificationSelenium.html.json
+++ b/accessibility-checker/test/baselines/JSONObjectStructureVerificationSelenium.html.json
@@ -2,7 +2,7 @@
"nls": {
"a_text_purpose": {
"0": "Hyperlinks must have an accessible name for their purpose",
- "Pass_0": "Hyperlink has a description of its purpose"
+ "pass": "Hyperlink has a description of its purpose"
},
"aria_accessiblename_exists": {
"0": "Elements with certain roles should have accessible names",
@@ -1365,7 +1365,7 @@
"aria": "/document[1]/navigation[1]/link[1]",
"dom": "/html[1]/body[1]/div[1]/a[1]"
},
- "reasonId": "Pass_0",
+ "reasonId": "pass",
"ruleId": "a_text_purpose",
"snippet": "",
"value": [
@@ -1374,7 +1374,7 @@
],
"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_0%22%2C%22ruleId%22%3A%22a_text_purpose%22%2C%22msgArgs%22%3A%5B%5D%7D"
+ "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"
},
{
"apiArgs": [],
diff --git a/accessibility-checker/test/mocha/aChecker.Fast/aChecker.ObjectStructure/aChecker.getCompliance.JSONObjectVerification.test.js b/accessibility-checker/test/mocha/aChecker.Fast/aChecker.ObjectStructure/aChecker.getCompliance.JSONObjectVerification.test.js
index 7269c8405..8df075f4a 100644
--- a/accessibility-checker/test/mocha/aChecker.Fast/aChecker.ObjectStructure/aChecker.getCompliance.JSONObjectVerification.test.js
+++ b/accessibility-checker/test/mocha/aChecker.Fast/aChecker.ObjectStructure/aChecker.getCompliance.JSONObjectVerification.test.js
@@ -127,7 +127,7 @@ describe("JSON Structure Verification Zombie", function () {
return b.ruleId.localeCompare(a.ruleId);
})
// Run the diff algo to get the list of differences
- differences = aChecker.diffResultsWithExpected(report, expected, false);console.log("report=" + JSON.stringify(report));
+ differences = aChecker.diffResultsWithExpected(report, expected, false);
}
expect(typeof differences).to.equal("undefined", "\nDoes not follow the correct JSON structure or can't load baselines" + JSON.stringify(differences, null, ' '));
// Mark the testcase as done.