forked from ember-template-lint/ember-template-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patha11y.js
41 lines (41 loc) · 1.46 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
export default {
rules: {
'link-href-attributes': 'error',
'no-abstract-roles': 'error',
'no-accesskey-attribute': 'error',
'no-aria-hidden-body': 'error',
'no-aria-unsupported-elements': 'error',
'no-autofocus-attribute': 'error',
'no-duplicate-attributes': 'error',
'no-duplicate-id': 'error',
'no-duplicate-landmark-elements': 'error',
'no-empty-headings': 'error',
'no-heading-inside-button': 'error',
'no-invalid-aria-attributes': '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-pointer-down-event-binding': 'error',
'no-positive-tabindex': 'error',
'no-redundant-role': 'error',
'no-scope-outside-table-headings': 'error',
'no-unsupported-role-attributes': 'error',
'no-whitespace-for-layout': 'error',
'no-whitespace-within-word': 'error',
'require-aria-activedescendant-tabindex': 'error',
'require-context-role': 'error',
'require-iframe-title': 'error',
'require-input-label': 'error',
'require-lang-attribute': 'error',
'require-mandatory-role-attributes': 'error',
'require-media-caption': 'error',
'require-presentational-children': 'error',
'require-valid-alt-text': 'error',
'table-groups': 'error',
},
};