Skip to content

Ember-template-lint ACT Implementation

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

Implemented Rules

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

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 fully consistent with the HTML page has lang attribute WCAG 2 rule. It covers 3 of the 7 examples. On 4 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 cannot tell
Failed Example 1 failed
Failed Example 2 failed
Failed Example 3 cannot tell
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 2 of the 7 examples. On 5 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 cannot tell
Passed Example 2 cannot tell
Passed Example 3 cannot tell
Passed Example 4 cannot tell
Failed Example 1 failed
Failed Example 2 failed
Inapplicable Example 1 cannot tell

ARIA state or property is permitted

This rule is implemented by ember-template-lint using the no-invalid-aria-attributes procedure. The implementation is partially consistent with the ARIA state or property is permitted proposed rule. It covers 1 of the 16 examples. On 14 examples the implementation cannot tell the outcome. This is often because of technical limitations in tools. For 1 example no results were reported. This can happen when examples are newer then the test results. 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 cannot tell
Passed Example 2 cannot tell
Passed Example 3 cannot tell
Passed Example 4 cannot tell
Passed Example 5 cannot tell
Passed Example 6 cannot tell
Passed Example 7 cannot tell
Passed Example 8 cannot tell
Passed Example 9 cannot tell
Passed Example 10 cannot tell
Passed Example 11 cannot tell
Failed Example 1 failed
Failed Example 2 cannot tell
Failed Example 3 untested
Inapplicable Example 1 cannot tell
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 2 of the 10 examples. On 8 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 cannot tell
Passed Example 2 cannot tell
Passed Example 3 cannot tell
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 1 of the 12 examples. On 11 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 cannot tell
Passed Example 2 cannot tell
Passed Example 3 cannot tell
Passed Example 4 cannot tell
Failed Example 1 failed
Failed Example 2 cannot tell
Failed Example 3 cannot tell
Failed Example 4 cannot tell
Failed Example 5 cannot tell
Inapplicable Example 1 cannot tell
Inapplicable Example 2 cannot tell
Inapplicable Example 3 cannot tell

Link in context is descriptive

This rule is implemented by ember-template-lint using the no-invalid-link-text procedure. The implementation is fully consistent with the Link in context is descriptive proposed rule. It covers 1 of the 18 examples. On 17 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 cannot tell
Passed Example 2 cannot tell
Passed Example 3 cannot tell
Passed Example 4 cannot tell
Passed Example 5 cannot tell
Passed Example 6 cannot tell
Passed Example 7 cannot tell
Passed Example 8 cannot tell
Passed Example 9 cannot tell
Failed Example 1 failed
Failed Example 2 cannot tell
Failed Example 3 cannot tell
Failed Example 4 cannot tell
Failed Example 5 cannot tell
Failed Example 6 cannot tell
Inapplicable Example 1 cannot tell
Inapplicable Example 2 cannot tell
Inapplicable Example 3 cannot tell
Back to Top