Skip to content

no-aria-checked-mismatch ​

Disallow aria-checked on checkbox/radio <input> that has the checked attribute. Auto-fixable.

Severity ​

warning

❌ Incorrect ​

html
<input type="checkbox" checked aria-checked="false">

✅ Correct ​

html
<input type="checkbox" checked>

Reference ​

Configuration ​

json
{
  "rules": {
    "no-aria-checked-mismatch": "warning"
  }
}

Released under the MIT License.