Skip to content

Commit

Permalink
fix(axe-core): remove false positive for aria-prohibited-attr rule
Browse files Browse the repository at this point in the history
  • Loading branch information
LuLaValva authored Nov 19, 2024
2 parents 98c9bbc + 6d2ceb9 commit a37b7f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/weak-foxes-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@marko/language-server": patch
"marko-vscode": patch
---

Remove false positive for aria-prohibited-attr rule
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const ruleExceptions: { [id in Whitelist]: Exceptions } = {
[r.aria.ariaInputFieldName]: { unknownBody: true, attrSpread: true },
[r.aria.ariaMeterName]: { unknownBody: true, attrSpread: true },
[r.aria.ariaProgressbarName]: { unknownBody: true, attrSpread: true },
[r.aria.ariaProhibitedAttr]: {},
[r.aria.ariaProhibitedAttr]: { dynamicAttrs: ["role"] },
[r.aria.ariaRequiredAttr]: { attrSpread: true },
[r.aria.ariaRequiredChildren]: { unknownBody: true },
[r.aria.ariaRoles]: { dynamicAttrs: ["role"] },
Expand Down

0 comments on commit a37b7f1

Please sign in to comment.