Skip to content

Ember-template-lint ACT Implementation

Number of Rules Implemented
Consistent Partially consistent
WCAG 2 rules 0 1
Proposed rules 3 2

Implemented Rules

Rule Name Type Consistency
HTML page has lang attribute WCAG 2 Rule Partial
ARIA attribute is defined in WAI-ARIA Proposed Rule Consistent
ARIA state or property is permitted Proposed Rule Consistent
Attribute is not duplicated Proposed Rule Consistent
Link is descriptive Proposed Rule Partial
Link in context is descriptive Proposed Rule Partial

About ember-template-lint Results

Test cases that require scripts or CSS are skipped and reported as cantTell. Like all linters, Ember-template-lint does static code analysis, and so does not run scripts or render CSS.

Results in this page are taken from a public test report published by contributors in the Ember.js community. Data is published using the EARL+JSON-LD data format.

Implementation Details

HTML page has lang attribute

This rule is implemented by ember-template-lint using the require-lang-attribute procedure. The implementation is partially consistent with the HTML page has lang attribute WCAG 2 rule. It covers 4 of the 7 examples. On 2 examples the implementation cannot tell the outcome. This is often because of technical limitations in tools. The implementation correctly reports which success criteria are failed by this rule. See understanding ACT consistency.

Success Criteria
Expected Reported
  • 3.1.1 Language of Page
  • 3.1.1 Language of Page
Test Results
require-lang-attribute
Passed Example 1 passed
Failed Example 1 failed
Failed Example 2 failed
Failed Example 3 passed
Failed Example 4 failed
Inapplicable Example 1 cannot tell
Inapplicable Example 2 cannot tell

ARIA attribute is defined in WAI-ARIA

This rule is implemented by ember-template-lint using the no-invalid-aria-attributes procedure. The implementation is fully consistent with the ARIA attribute is defined in WAI-ARIA proposed rule. It covers all 7 examples. The implementation correctly reports no success criteria are failed by this rule. See understanding ACT consistency.

Success Criteria
Expected Reported
None None
Test Results
no-invalid-aria-attributes
Passed Example 1 passed
Passed Example 2 passed
Passed Example 3 passed
Passed Example 4 passed
Failed Example 1 failed
Failed Example 2 failed
Inapplicable Example 1 passed

ARIA state or property is permitted

This rule is implemented by ember-template-lint using the no-invalid-aria-attributes procedure. The implementation is fully consistent with the ARIA state or property is permitted proposed rule. It covers 13 of the 15 examples. On 2 examples the implementation cannot tell the outcome. This is often because of technical limitations in tools. The implementation correctly reports no success criteria are failed by this rule. See understanding ACT consistency.

Success Criteria
Expected Reported
None None
Test Results
no-invalid-aria-attributes
Passed Example 1 passed
Passed Example 2 passed
Passed Example 3 passed
Passed Example 4 passed
Passed Example 5 passed
Passed Example 6 passed
Passed Example 7 passed
Passed Example 8 passed
Passed Example 9 passed
Passed Example 10 passed
Passed Example 11 passed
Failed Example 1 failed
Failed Example 2 cannot tell
Inapplicable Example 1 passed
Inapplicable Example 2 cannot tell

Attribute is not duplicated

This rule is implemented by ember-template-lint using the no-duplicate-attributes procedure. The implementation is fully consistent with the Attribute is not duplicated proposed rule. It covers 5 of the 10 examples. On 5 examples the implementation cannot tell the outcome. This is often because of technical limitations in tools. The implementation correctly reports which success criteria are failed by this rule. See understanding ACT consistency.

Success Criteria
Expected Reported
  • 4.1.1 Parsing
  • 4.1.1 Parsing
Test Results
no-duplicate-attributes
Passed Example 1 passed
Passed Example 2 passed
Passed Example 3 passed
Passed Example 4 cannot tell
Passed Example 5 cannot tell
Failed Example 1 failed
Failed Example 2 failed
Failed Example 3 cannot tell
Inapplicable Example 1 cannot tell
Inapplicable Example 2 cannot tell

Link is descriptive

This rule is implemented by ember-template-lint using the no-invalid-link-text procedure. The implementation is partially consistent with the Link is descriptive proposed rule. It covers 6 of the 12 examples. On 2 examples the implementation cannot tell the outcome. This is often because of technical limitations in tools. The implementation reports different success criteria as failed from what is expected by this rule. See understanding ACT consistency.

Success Criteria
Expected Reported
  • 2.4.9 Link Purpose (Link Only)
  • 2.4.4 Link Purpose (In Context)
Test Results
no-invalid-link-text
Passed Example 1 passed
Passed Example 2 passed
Passed Example 3 passed
Passed Example 4 cannot tell
Failed Example 1 failed
Failed Example 2 passed
Failed Example 3 passed
Failed Example 4 passed
Failed Example 5 passed
Inapplicable Example 1 passed
Inapplicable Example 2 cannot tell
Inapplicable Example 3 passed

Link in context is descriptive

This rule is implemented by ember-template-lint using the no-invalid-link-text procedure. The implementation is partially consistent with the Link in context is descriptive proposed rule. It covers 11 of the 18 examples. On 3 examples the implementation cannot tell the outcome. This is often because of technical limitations in tools. The implementation correctly reports which success criteria are failed by this rule. See understanding ACT consistency.

Success Criteria
Expected Reported
  • 2.4.4 Link Purpose (In Context)
  • 2.4.4 Link Purpose (In Context)
Test Results
no-invalid-link-text
Passed Example 1 passed
Passed Example 2 passed
Passed Example 3 passed
Passed Example 4 passed
Passed Example 5 passed
Passed Example 6 passed
Passed Example 7 cannot tell
Passed Example 8 passed
Passed Example 9 passed
Failed Example 1 failed
Failed Example 2 passed
Failed Example 3 passed
Failed Example 4 passed
Failed Example 5 cannot tell
Failed Example 6 passed
Inapplicable Example 1 passed
Inapplicable Example 2 cannot tell
Inapplicable Example 3 passed
Back to Top

This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.