Skip to main content

ESLint Plugin
Prefer Implicit

Modern HTML already provides rich, implicit semantics. However, many codebases add redundant or even harmful ARIA attributes and roles. This plugin enforces a simple principle:

If the browser already knows it, don't repeat it.

@k9n/eslint-plugin-prefer-implicit logo
🧹

Clean Code

Remove redundant ARIA attributes and roles that the browser already provides.

♿

Accessible

Prevent destructive roles and conflicting ARIA that break assistive technologies.

🔧

Auto-fixable

All six rules provide safe autofixes for static attribute values.