forked from ember-template-lint/ember-template-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patha11y.js
28 lines (27 loc) · 886 Bytes
/
a11y.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
'use strict';
module.exports = {
rules: {
'link-href-attributes': 'error',
'no-abstract-roles': 'error',
'no-duplicate-attributes': 'error',
'no-duplicate-id': 'error',
'no-duplicate-landmark-elements': 'error',
'no-heading-inside-button': 'error',
'no-invalid-interactive': 'error',
'no-invalid-link-text': 'error',
'no-invalid-link-title': 'error',
'no-invalid-meta': 'error',
'no-invalid-role': 'error',
'no-nested-interactive': 'error',
'no-nested-landmark': 'error',
'no-obsolete-elements': 'error',
'no-positive-tabindex': 'error',
'no-redundant-landmark-role': 'error',
'no-whitespace-for-layout': 'error',
'no-whitespace-within-word': 'error',
'require-iframe-title': 'error',
'require-input-label': 'error',
'require-lang-attribute': 'error',
'require-valid-alt-text': 'error',
},
};