Skip to content

Commit

Permalink
update the deprecate aria role/attr list #680
Browse files Browse the repository at this point in the history
  • Loading branch information
shunguoy committed Feb 10, 2022
1 parent 28e3068 commit 0d2dce0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ let a11yRulesElem: Rule[] = [
", aria:treegrid[aria-haspopup], " +
", aria:treeitem[aria-errormessage], aria:treeitem[aria-invalid], " +
", aria:widget[aria-disabled], aria:widget[aria-errormessage], aria:widget[aria-haspopup], aria:widget[aria-invalid], " +
", aria:window[aria-disabled], aria:window[aria-errormessage], aria:window[aria-haspopup], aria:window[aria-invalid], " +
", aria:*[aria-errormessage], aria:*[aria-haspopup], aria:*[aria-invalid],",
", aria:window[aria-disabled], aria:window[aria-errormessage], aria:window[aria-haspopup], aria:window[aria-invalid] ",
run: (context: RuleContext, options?: {}): RuleResult | RuleResult[] => {
const ruleContext = context["dom"].node as Element;
let passed = false;
Expand Down

0 comments on commit 0d2dce0

Please sign in to comment.