Go Back

Non interactive elements should not be assigned interactive roles

DevOps

About
This foundational accessibility (a11y) linting error triggers when a developer assigns an ARIA interactive role attribute (like `role="button"`) to a non-interactive HTML element (such as a generic `<div>` or `<span>`) without implementing matching keyboard navigation and focus controls.