Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 614 Bytes

File metadata and controls

36 lines (26 loc) · 614 Bytes

ember/template-no-abstract-roles

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