Skip to content

Commit 10fb84f

Browse files
authored
fix(aria-allowed-role): added gridcell, separator, and treeitem to allowed roles of button element
1 parent 85e63c0 commit 10fb84f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/standards/html-elms.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,18 @@ const htmlElms = {
140140
allowedRoles: [
141141
'checkbox',
142142
'combobox',
143+
'gridcell',
143144
'link',
144145
'menuitem',
145146
'menuitemcheckbox',
146147
'menuitemradio',
147148
'option',
148149
'radio',
150+
'separator',
149151
'slider',
150152
'switch',
151-
'tab'
153+
'tab',
154+
'treeitem'
152155
],
153156
// 5.4 button Element
154157
namingMethods: ['subtreeText']

0 commit comments

Comments
 (0)