Skip to main content

wai-aria-value

Warns when an ARIA property or state value does not conform to its expected type.

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

❌ Examples of incorrect code for this rule

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

✅ Examples of correct code for this rule

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

Interface

{
"wai-aria-value": boolean
}

Default Severity

error