diff --git a/accessibility-checker-engine/src/v4/rules/target_spacing_sufficient.ts b/accessibility-checker-engine/src/v4/rules/target_spacing_sufficient.ts
index 18ef2e7da..54604cdd2 100644
--- a/accessibility-checker-engine/src/v4/rules/target_spacing_sufficient.ts
+++ b/accessibility-checker-engine/src/v4/rules/target_spacing_sufficient.ts
@@ -36,14 +36,14 @@
},
messages: {
"en-US": {
- "group": "The target is sufficiently spaced from other targets",
- "pass_spacing": "The target's spacing from other targets is more than minimum",
+ "group": "The target must be sufficiently sized or spaced from other targets",
+ "pass_spacing": "The target's spacing from other targets is sufficient",
"pass_sized": "The target’s size is more than 24 CSS pixels",
"pass_inline": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
- "pass_default": "The size of the target is determined by the user agent and is not modified by the author",
- "violation_spacing": "The center of the target '{0}' is less than 12 CSS pixels from the bounding box (edge) of an adjacent target '{1}'",
- "recommendation_inline": "Confirm the inline target '{0}' is sufficiently spaced from aother inline target '{1}'",
- "potential_overlap": "Ensure the overlapped element '{0}' meets a minimum target size or has sufficient spacing from the overlapping element '{1}'"
+ "pass_default": "The target's size is determined by the user agent and is not modified by the author",
+ "violation_spacing": "Undersized target \"{0}\" does not have sufficient spacing of 12 CSS pixels from another target \"{1}\"",
+ "recommendation_inline": "Confirm the inline target \"{0}\" is sufficiently spaced from aother inline target \"{1}\"",
+ "potential_overlap": "Ensure the overlapped target \"{0}\" meets a minimum target size or has sufficient spacing from the overlapping target \"{1}\""
}
},
rulesets: [{
diff --git a/accessibility-checker-engine/src/v4/sc-urls.json b/accessibility-checker-engine/src/v4/sc-urls.json
index 38cb2b2b6..0469b0a30 100644
--- a/accessibility-checker-engine/src/v4/sc-urls.json
+++ b/accessibility-checker-engine/src/v4/sc-urls.json
@@ -711,7 +711,7 @@
"num": "2.5.8",
"url": "https://w3c.github.io/wcag/guidelines/22/#target-size-minimum",
"scId": "WCAG2:minimum-target-size",
- "scAltId": [],
+ "scAltId": ["minimum-target-size"],
"test": "WCAG2:WCAG2:minimum-target-size",
"howToMeetUrl": "https://w3c.github.io/wcag/understanding/target-size-minimum.html",
"understandingUrl": "https://w3c.github.io/wcag/understanding/target-size-minimum.html",
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_element_inline.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_element_inline.html
index eea008839..da56395a4 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_element_inline.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_element_inline.html
@@ -97,7 +97,7 @@
display: inline
"message": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -113,7 +113,7 @@ display: inline
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -129,7 +129,7 @@ display: inline
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -142,10 +142,10 @@ display: inline
"aria": "/document[1]/button[3]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_hidden_default.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_hidden_default.html
index 0173104ac..41b41b9fc 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_hidden_default.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_hidden_default.html
@@ -73,7 +73,7 @@
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_hidden_zindex.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_hidden_zindex.html
index e001476f9..72ed3ea21 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_hidden_zindex.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_hidden_zindex.html
@@ -75,7 +75,7 @@
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_visible_zindex.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_visible_zindex.html
index 00de2fbde..bc9742f9c 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_visible_zindex.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/block_overlaid_visible_zindex.html
@@ -75,7 +75,7 @@
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -88,13 +88,13 @@
"aria": "/document[1]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'div' meets a minimum target size or has sufficient spacing from the overlapping element 'div'",
+ "message": "Ensure the overlapped target \"div\" meets a minimum target size or has sufficient spacing from the overlapping target \"div\"",
"messageArgs": [
"div",
"div"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/button_examples.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/button_examples.html
index cdbc4da72..ca3ddbd53 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/button_examples.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/button_examples.html
@@ -52,7 +52,7 @@
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -65,10 +65,10 @@
"aria": "/document[1]/button[2]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -81,10 +81,10 @@
"aria": "/document[1]/button[3]"
},
"reasonId": "pass_spacing",
- "message": "The target's spacing from other targets is more than minimum",
+ "message": "The target's spacing from other targets is sufficient",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -97,10 +97,10 @@
"aria": "/document[1]/button[4]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -113,13 +113,13 @@
"aria": "/document[1]/button[5]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'button' meets a minimum target size or has sufficient spacing from the overlapping element 'button'",
+ "message": "Ensure the overlapped target \"button\" meets a minimum target size or has sufficient spacing from the overlapping target \"button\"",
"messageArgs": [
"button",
"button"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_inline.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_inline.html
index 49e7809cb..b3f55e81e 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_inline.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_inline.html
@@ -109,7 +109,7 @@ display: mixed
"message": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -125,7 +125,7 @@ display: mixed
"message": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -138,10 +138,10 @@ display: mixed
"aria": "/document[1]/button[1]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -157,7 +157,7 @@ display: mixed
"message": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -170,10 +170,10 @@ display: mixed
"aria": "/document[1]/textbox[1]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -189,7 +189,7 @@ display: mixed
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -205,7 +205,7 @@ display: mixed
"message": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -221,7 +221,7 @@ display: mixed
"message": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -234,13 +234,13 @@ display: mixed
"aria": "/document[1]/img[2]"
},
"reasonId": "recommendation_inline",
- "message": "Confirm the inline target 'img' is sufficiently spaced from aother inline target 'a'",
+ "message": "Confirm the inline target \"img\" is sufficiently spaced from aother inline target \"a\"",
"messageArgs": [
"img",
"a"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -256,7 +256,7 @@ display: mixed
"message": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -269,10 +269,10 @@ display: mixed
"aria": "/document[1]/button[2]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -285,10 +285,10 @@ display: mixed
"aria": "/document[1]/button[3]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -301,10 +301,10 @@ display: mixed
"aria": "/document[1]/button[4]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -320,7 +320,7 @@ display: mixed
"message": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -333,10 +333,10 @@ display: mixed
"aria": "/document[1]/button[5]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -349,10 +349,10 @@ display: mixed
"aria": "/document[1]/button[6]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -365,10 +365,10 @@ display: mixed
"aria": "/document[1]/button[7]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_list.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_list.html
index c5e6fb917..6f5439076 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_list.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_list.html
@@ -51,10 +51,10 @@
"aria": "/document[1]/main[1]/listbox[1]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -67,13 +67,13 @@
"aria": "/document[1]/main[1]/listbox[1]/option[1]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'option' meets a minimum target size or has sufficient spacing from the overlapping element 'option'",
+ "message": "Ensure the overlapped target \"option\" meets a minimum target size or has sufficient spacing from the overlapping target \"option\"",
"messageArgs": [
"option",
"option"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -86,13 +86,13 @@
"aria": "/document[1]/main[1]/listbox[1]/option[2]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'option' meets a minimum target size or has sufficient spacing from the overlapping element 'option'",
+ "message": "Ensure the overlapped target \"option\" meets a minimum target size or has sufficient spacing from the overlapping target \"option\"",
"messageArgs": [
"option",
"option"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -105,13 +105,13 @@
"aria": "/document[1]/main[1]/listbox[1]/option[3]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'option' meets a minimum target size or has sufficient spacing from the overlapping element 'option'",
+ "message": "Ensure the overlapped target \"option\" meets a minimum target size or has sufficient spacing from the overlapping target \"option\"",
"messageArgs": [
"option",
"option"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -124,13 +124,13 @@
"aria": "/document[1]/main[1]/listbox[1]/option[4]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'option' meets a minimum target size or has sufficient spacing from the overlapping element 'option'",
+ "message": "Ensure the overlapped target \"option\" meets a minimum target size or has sufficient spacing from the overlapping target \"option\"",
"messageArgs": [
"option",
"option"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -143,13 +143,13 @@
"aria": "/document[1]/main[1]/listbox[1]/option[5]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'option' meets a minimum target size or has sufficient spacing from the overlapping element 'option'",
+ "message": "Ensure the overlapped target \"option\" meets a minimum target size or has sufficient spacing from the overlapping target \"option\"",
"messageArgs": [
"option",
"option"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -162,10 +162,10 @@
"aria": "/document[1]/main[1]/listbox[2]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -178,10 +178,10 @@
"aria": "/document[1]/main[1]/listbox[2]/option[1]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -194,10 +194,10 @@
"aria": "/document[1]/main[1]/listbox[2]/option[2]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -210,10 +210,10 @@
"aria": "/document[1]/main[1]/listbox[2]/option[3]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -226,10 +226,10 @@
"aria": "/document[1]/main[1]/listbox[2]/option[4]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -242,10 +242,10 @@
"aria": "/document[1]/main[1]/listbox[2]/option[5]"
},
"reasonId": "pass_default",
- "message": "The size of the target is determined by the user agent and is not modified by the author",
+ "message": "The target's size is determined by the user agent and is not modified by the author",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
};
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_overlap.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_overlap.html
index 695dd48d4..2c70730f7 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_overlap.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_overlap.html
@@ -75,7 +75,7 @@
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_target.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_target.html
index 397e5f675..a15f8989a 100755
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_target.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/element_target.html
@@ -136,13 +136,13 @@
"aria": "/document[1]/button[1]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'button' meets a minimum target size or has sufficient spacing from the overlapping element 'button'",
+ "message": "Ensure the overlapped target \"button\" meets a minimum target size or has sufficient spacing from the overlapping target \"button\"",
"messageArgs": [
"button",
"button"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -158,7 +158,7 @@
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -171,13 +171,13 @@
"aria": "/document[1]/button[3]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'button' meets a minimum target size or has sufficient spacing from the overlapping element 'button'",
+ "message": "Ensure the overlapped target \"button\" meets a minimum target size or has sufficient spacing from the overlapping target \"button\"",
"messageArgs": [
"button",
"button"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -193,7 +193,7 @@
"message": "The target’s size is more than 24 CSS pixels",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -206,13 +206,13 @@
"aria": "/document[1]/button[5]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'button' meets a minimum target size or has sufficient spacing from the overlapping element 'button'",
+ "message": "Ensure the overlapped target \"button\" meets a minimum target size or has sufficient spacing from the overlapping target \"button\"",
"messageArgs": [
"button",
"button"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -225,13 +225,13 @@
"aria": "/document[1]/button[6]"
},
"reasonId": "potential_overlap",
- "message": "Ensure the overlapped element 'button' meets a minimum target size or has sufficient spacing from the overlapping element 'button'",
+ "message": "Ensure the overlapped target \"button\" meets a minimum target size or has sufficient spacing from the overlapping target \"button\"",
"messageArgs": [
"button",
"button"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -244,10 +244,10 @@
"aria": "/document[1]/button[7]"
},
"reasonId": "pass_spacing",
- "message": "The target's spacing from other targets is more than minimum",
+ "message": "The target's spacing from other targets is sufficient",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -260,10 +260,10 @@
"aria": "/document[1]/button[8]"
},
"reasonId": "pass_spacing",
- "message": "The target's spacing from other targets is more than minimum",
+ "message": "The target's spacing from other targets is sufficient",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -276,10 +276,10 @@
"aria": "/document[1]/button[9]"
},
"reasonId": "pass_spacing",
- "message": "The target's spacing from other targets is more than minimum",
+ "message": "The target's spacing from other targets is sufficient",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -292,10 +292,10 @@
"aria": "/document[1]/button[10]"
},
"reasonId": "pass_spacing",
- "message": "The target's spacing from other targets is more than minimum",
+ "message": "The target's spacing from other targets is sufficient",
"messageArgs": [],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -308,13 +308,13 @@
"aria": "/document[1]/button[11]"
},
"reasonId": "violation_spacing",
- "message": "The center of the target 'button' is less than 12 CSS pixels from the bounding box (edge) of an adjacent target 'button'",
+ "message": "Undersized target \"button\" does not have sufficient spacing of 12 CSS pixels from another target \"button\"",
"messageArgs": [
"button",
"button"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
},
{
"ruleId": "target_spacing_sufficient",
@@ -327,13 +327,13 @@
"aria": "/document[1]/button[12]"
},
"reasonId": "violation_spacing",
- "message": "The center of the target 'button' is less than 12 CSS pixels from the bounding box (edge) of an adjacent target 'button'",
+ "message": "Undersized target \"button\" does not have sufficient spacing of 12 CSS pixels from another target \"button\"",
"messageArgs": [
"button",
"button"
],
"apiArgs": [],
- "category": "Other"
+ "category": "Accessibility"
}
]
}
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/link_in_text.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/link_in_text.html
index 98780cac3..ab5d3da12 100644
--- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/link_in_text.html
+++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/target_spacing_sufficient_ruleunit/link_in_text.html
@@ -19,6 +19,162 @@
-
+