wai-aria-deprecated-role
Warns when a deprecated WAI-ARIA role is used.
This rule is part of the wai-aria rule family, split for granular severity control.
❌ Examples of incorrect code for this rule
<div role="directory"></div>
✅ Examples of correct code for this rule
<div role="list"></div>
Interface
{
"wai-aria-deprecated-role": boolean
}
Default Severity
warning