🧹
Clean Code
Remove redundant ARIA attributes and roles that the browser already provides.
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.
Remove redundant ARIA attributes and roles that the browser already provides.
Prevent destructive roles and conflicting ARIA that break assistive technologies.
All six rules provide safe autofixes for static attribute values.