File tree Expand file tree Collapse file tree 3 files changed +14
-9
lines changed
test/integration/rules/aria-allowed-role Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -140,14 +140,18 @@ const htmlElms = {
140
140
allowedRoles : [
141
141
'checkbox' ,
142
142
'combobox' ,
143
+ 'gridcell' ,
143
144
'link' ,
144
145
'menuitem' ,
145
146
'menuitemcheckbox' ,
146
147
'menuitemradio' ,
147
148
'option' ,
148
149
'radio' ,
150
+ 'separator' ,
151
+ 'slider' ,
149
152
'switch' ,
150
- 'tab'
153
+ 'tab' ,
154
+ 'treeitem'
151
155
] ,
152
156
// 5.4 button Element
153
157
namingMethods : [ 'subtreeText' ]
Original file line number Diff line number Diff line change @@ -207,6 +207,12 @@ <h1 id="pass-h1-valid-role" role="none"></h1>
207
207
> </ div >
208
208
< div id ="pass-graphics-object " role ="graphics-object "> </ div >
209
209
< div id ="pass-graphics-symbol " role ="graphics-symbol "> </ div >
210
+ < button
211
+ id ="pass-button-role-gridcell "
212
+ role ="gridcell "
213
+ title ="IconCheckmark "
214
+ aria-label ="IconCheckmark icon "
215
+ > </ button >
210
216
211
217
< dd id ="fail-dd-no-role " role ="link "> </ dd >
212
218
< dt id ="fail-dt-no-role " role ="banner "> </ dt >
@@ -219,12 +225,7 @@ <h1 id="pass-h1-valid-role" role="none"></h1>
219
225
< button id ="fail-button-role-cell " role ="cell "> </ button >
220
226
< aside id ="fail-aside-doc-foreword " role ="doc-foreword "> </ aside >
221
227
< aside id ="fail-aside-role-tab " role ="tab "> </ aside >
222
- < button
223
- id ="fail-button-role-gridcell "
224
- role ="gridcell "
225
- title ="IconCheckmark "
226
- aria-label ="IconCheckmark icon "
227
- > </ button >
228
+
228
229
< input id ="fail-input-role-gridcell-multiple-role " role ="gridcell combobox " />
229
230
< div style ="display: none ">
230
231
< button
Original file line number Diff line number Diff line change 88
88
[" #pass-imgmap-2" ],
89
89
[" #pass-navnone-1" ],
90
90
[" #pass-navnone-2" ],
91
- [" #pass-search-elm" ]
91
+ [" #pass-search-elm" ],
92
+ [" #pass-button-role-gridcell" ]
92
93
],
93
94
"violations" : [
94
95
[" #fail-dd-no-role" ],
102
103
[" #fail-button-role-cell" ],
103
104
[" #fail-aside-doc-foreword" ],
104
105
[" #fail-aside-role-tab" ],
105
- [" #fail-button-role-gridcell" ],
106
106
[" #fail-input-role-gridcell-multiple-role" ],
107
107
[" #fail-dpub-1" ],
108
108
[" #fail-dpub-2" ],
You can’t perform that action at this time.
0 commit comments