forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaxe-linter.yml
51 lines (51 loc) · 1.04 KB
/
axe-linter.yml
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
42
43
44
45
46
47
48
49
50
51
global-components:
gl-button:
element: button
attributes:
- aria-*
gl-avatar:
element: img
gl-avatar-link:
element: a
gl-avatar-labeled:
element: img
attributes:
- label: alt
gl-toggle:
element: button
attributes:
- label: aria-labelledby
- description: aria-describedby
gl-link:
element: a
gl-collapsible-listbox:
element: button
attributes:
- aria-*
# gives false results for listobx without toggle text but wih v-model providing an initial value
- toggle-text: aria-label
- toggle-aria-labelled-by: aria-labelledby
- list-aria-labelled-by: aria-labelledby
gl-disclosure-dropdown:
element: button
attributes:
- aria-*
- toggle-text: aria-label
gl-form-group:
element: label
attributes:
- aria-*
- label-for: for
- label: <text>
gl-form-input:
element: input
attributes:
- aria-*
gl-form-textarea:
element: textarea
attributes:
- aria-*
gl-form-select:
element: select
attributes:
- aria-*