From c9b702bd76753d087f8b29d8d8598e987b3b74a0 Mon Sep 17 00:00:00 2001 From: Shunguo Date: Tue, 11 Jun 2024 09:03:53 -0500 Subject: [PATCH] update aria definition for input element #842 --- accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts b/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts index c7e0b692b..8d7302ba1 100644 --- a/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts +++ b/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts @@ -2385,7 +2385,7 @@ export class ARIADefinitions { "checkbox-with-aria-pressed": { implicitRole: ["checkbox"], //roleCondition: " with type=checkbox and aria-pressed attribute is present", - validRoles: ["button"], + validRoles: ["menuitemcheckbox", "option", "switch", "button"], globalAriaAttributesValid: true, otherAllowedAriaAttributes: ["aria-required"], otherDisallowedAriaAttributes: ["aria-checked"]