forked from Shopify/polaris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patha11y_shitlist.json
154 lines (154 loc) · 8.97 KB
/
a11y_shitlist.json
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"all-components-app-provider--with-i18n-object": [
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent",
"context": "<a aria-describedby=\"341\" class=\"Item-Link_2-raD\" tabindex=\"0\" id=\"ResourceListItemOverlay1\" href=\"customers/341\" data-polaris-unstyled=\"true\"></a>",
"message": "Anchor element found with a valid href attribute, but no link content has been supplied.",
"type": "error",
"typeCode": 1,
"selector": "#ResourceListItemOverlay1"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent",
"context": "<a aria-describedby=\"256\" class=\"Item-Link_2-raD\" tabindex=\"0\" id=\"ResourceListItemOverlay2\" href=\"customers/256\" data-polaris-unstyled=\"true\"></a>",
"message": "Anchor element found with a valid href attribute, but no link content has been supplied.",
"type": "error",
"typeCode": 1,
"selector": "#ResourceListItemOverlay2"
}
],
"all-components-app-provider--default": [
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent",
"context": "<a aria-describedby=\"341\" class=\"Item-Link_2-raD\" tabindex=\"0\" id=\"ResourceListItemOverlay1\" href=\"customers/341\" data-polaris-unstyled=\"true\"></a>",
"message": "Anchor element found with a valid href attribute, but no link content has been supplied.",
"type": "error",
"typeCode": 1,
"selector": "#ResourceListItemOverlay1"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent",
"context": "<a aria-describedby=\"256\" class=\"Item-Link_2-raD\" tabindex=\"0\" id=\"ResourceListItemOverlay2\" href=\"customers/256\" data-polaris-unstyled=\"true\"></a>",
"message": "Anchor element found with a valid href attribute, but no link content has been supplied.",
"type": "error",
"typeCode": 1,
"selector": "#ResourceListItemOverlay2"
}
],
"all-components-popover--popover-with-lazy-loaded-list": [
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button class=\"Item-Button_30rEf\" tabindex=\"0\"></button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#Popover1 > div > div > ul > li:nth-child(1) > div > button"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button class=\"Item-Button_30rEf\" tabindex=\"0\"></button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#Popover1 > div > div > ul > li:nth-child(2) > div > button"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button class=\"Item-Button_30rEf\" tabindex=\"0\"></button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#Popover1 > div > div > ul > li:nth-child(3) > div > button"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button class=\"Item-Button_30rEf\" tabindex=\"0\"></button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#Popover1 > div > div > ul > li:nth-child(4) > div > button"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button class=\"Item-Button_30rEf\" tabindex=\"0\"></button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#Popover1 > div > div > ul > li:nth-child(5) > div > button"
}
],
"all-components-resource-list--resource-list-with-persistent-item-shortcut-actions": [
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button type=\"button\" class=\"Button-Button_2pL_i Button-plain_RU0pa Button-iconOnly_2ZPSS\" tabindex=\"0\" aria-controls=\"Popover1\" aria-owns=\"Popover1\" aria-haspopup=\"true\" aria-expanded=\"false\"><span class=\"Button-Content_2iX...</button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#341 > div:nth-child(4) > div > button"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button type=\"button\" class=\"Button-Button_2pL_i Button-plain_RU0pa Button-iconOnly_2ZPSS\" tabindex=\"0\" aria-controls=\"Popover2\" aria-owns=\"Popover2\" aria-haspopup=\"true\" aria-expanded=\"false\"><span class=\"Button-Content_2iX...</button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#256 > div:nth-child(4) > div > button"
}
],
"all-components-resource-list--resource-list-with-filtering": [
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent",
"context": "<a aria-describedby=\"341\" class=\"Item-Link_2-raD\" tabindex=\"0\" id=\"ResourceListItemOverlay1\" href=\"customers/341\" data-polaris-unstyled=\"true\"></a>",
"message": "Anchor element found with a valid href attribute, but no link content has been supplied.",
"type": "error",
"typeCode": 1,
"selector": "#ResourceListItemOverlay1"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent",
"context": "<a aria-describedby=\"256\" class=\"Item-Link_2-raD\" tabindex=\"0\" id=\"ResourceListItemOverlay2\" href=\"customers/256\" data-polaris-unstyled=\"true\"></a>",
"message": "Anchor element found with a valid href attribute, but no link content has been supplied.",
"type": "error",
"typeCode": 1,
"selector": "#ResourceListItemOverlay2"
}
],
"all-components-resource-list--resource-list-with-all-of-its-elements": [
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button type=\"button\" class=\"Button-Button_2pL_i Button-plain_RU0pa Button-iconOnly_2ZPSS\" tabindex=\"0\" aria-controls=\"Popover2\" aria-owns=\"Popover2\" aria-haspopup=\"true\" aria-expanded=\"false\"><span class=\"Button-Content_2iX...</button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#341 > div:nth-child(4) > div > button"
},
{
"code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name",
"context": "<button type=\"button\" class=\"Button-Button_2pL_i Button-plain_RU0pa Button-iconOnly_2ZPSS\" tabindex=\"0\" aria-controls=\"Popover3\" aria-owns=\"Popover3\" aria-haspopup=\"true\" aria-expanded=\"false\"><span class=\"Button-Content_2iX...</button>",
"message": "This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.",
"type": "error",
"typeCode": 1,
"selector": "#256 > div:nth-child(4) > div > button"
}
],
"all-components-tabs--fitted-tabs": [
{
"code": "WCAG2AA.Principle1.Guideline1_3.1_3_1.F92,ARIA4",
"context": "<li role=\"presentation\" class=\"Tabs-DisclosureTab_1_TJd\"><div><button tabindex=\"-1\" clas...</li>",
"message": "This element's role is \"presentation\" but contains child elements with semantic meaning.",
"type": "error",
"typeCode": 1,
"selector": "#root > div > div > div > div > ul > li:nth-child(3)"
}
],
"all-components-tabs--default-tabs": [
{
"code": "WCAG2AA.Principle1.Guideline1_3.1_3_1.F92,ARIA4",
"context": "<li role=\"presentation\" class=\"Tabs-DisclosureTab_1_TJd\"><div><button tabindex=\"-1\" clas...</li>",
"message": "This element's role is \"presentation\" but contains child elements with semantic meaning.",
"type": "error",
"typeCode": 1,
"selector": "#root > div > div > div > div > ul > li:nth-child(5)"
}
]
}