diff --git a/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts b/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts index c8b040852..b35f3278b 100644 --- a/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts +++ b/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts @@ -2087,7 +2087,7 @@ export class ARIADefinitions { globalAriaAttributesValid: true }, "summary": { - implicitRole: ["button"], + implicitRole: null, validRoles: null, globalAriaAttributesValid: true }, diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_focus_misuse_ruleunit/act_6cfa84_aria_hidden_fail_with_summary_element.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_focus_misuse_ruleunit/act_6cfa84_aria_hidden_fail_with_summary_element.html index f6ff65ae6..c433b0afe 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_focus_misuse_ruleunit/act_6cfa84_aria_hidden_fail_with_summary_element.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_focus_misuse_ruleunit/act_6cfa84_aria_hidden_fail_with_summary_element.html @@ -57,7 +57,7 @@ ], "path": { "dom": "/html[1]/body[1]/details[1]/summary[1]", - "aria": "/document[1]/generic[1]/group[1]/button[1]" + "aria": "/document[1]/generic[1]/group[1]" }, "reasonId": "Fail_1", "message": "Element \"summary\" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'", diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/summary_element.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/summary_element.html new file mode 100644 index 000000000..f6812537a --- /dev/null +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/summary_element.html @@ -0,0 +1,103 @@ + + + + + +
+