ember/template-no-abstract-roles
April 20, 2026 ยท View on GitHub
๐ผ This rule is enabled in the ๐ template-lint-migration config.
The HTML attribute role must never have the following values:
commandcompositeinputlandmarkrangeroletypesectionsectionheadselectstructurewidgetwindow
Examples
This rule forbids the following:
<div role='window'> Hello, world! </div>
This rule allows the following:
<div role='button'> Push it </div>