Skip to main content

wai-aria-deprecated-props

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

This rule is part of the wai-aria rule family, split for granular severity control.

❌ 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

{
"wai-aria-deprecated-props": boolean
}

Default Severity

warning