Skip to content

Commit

Permalink
update aria definition for input element #842
Browse files Browse the repository at this point in the history
  • Loading branch information
shunguoy committed Jun 11, 2024
1 parent 8963148 commit c9b702b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit c9b702b

Please sign in to comment.