Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 755 Bytes

File metadata and controls

38 lines (27 loc) · 755 Bytes

ember/template-no-abstract-roles

💼 This rule is enabled in the 📋 template-lint-migration config.

The HTML attribute role must never have the following values:

  • command
  • composite
  • input
  • landmark
  • range
  • roletype
  • section
  • sectionhead
  • select
  • structure
  • widget
  • window

Examples

This rule forbids the following:

<div role='window'> Hello, world! </div>

This rule allows the following:

<div role='button'> Push it </div>

References