-
Notifications
You must be signed in to change notification settings - Fork 831
Closed
Labels
coreIssues in the core code (lib/core)Issues in the core code (lib/core)prA pr has been created for the issueA pr has been created for the issuesupport
Milestone
Description
The aria-roledescription
rule was deprecated a while ago. In axe-core this was disabled and tagged as deprecated. That should have turned it off in all tools that use axe-core. It has done so in axe extension, but because of the way tags work in axe-core, it didn't turn the rule of the various axe SDKs (as well as anything built on top of them).
We'll want the following to be true:
axe.run({ runOnly: ['wcag2a'] }) // does **not** run aria-roledescription
axe.run({ runOnly: ['wcag2a', 'deprecated' }) // Runs aria-roledescription
axe.run({ rules: { rules: { "aria-roledescription": { enabled: true } } } }) // Runs aria-roledescription
This should make deprecated rules work the same as experimental rules. And since it'll work the same way, we can use the same mechanism. We should be able to do this by adding "deprecated" to the tagExclude option.
Metadata
Metadata
Assignees
Labels
coreIssues in the core code (lib/core)Issues in the core code (lib/core)prA pr has been created for the issueA pr has been created for the issuesupport