Skip to main content

no-deprecated-aria-prop

Warns when a deprecated ARIA property or state is used on a role.

❌ Examples of incorrect code for this rule

<div role="img" aria-disabled="true"></div>

✅ Examples of correct code for this rule

<div role="button" aria-pressed="true"></div>

Interface

{
"no-deprecated-aria-prop": boolean
}

Default Severity

warning