Skip to content

Commit

Permalink
fix(aria-allowed-role): added gridcell, separator, and treeitem to al…
Browse files Browse the repository at this point in the history
…lowed roles of button element
  • Loading branch information
msereniti committed Apr 4, 2024
1 parent 85e63c0 commit 10fb84f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/standards/html-elms.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,18 @@ const htmlElms = {
allowedRoles: [
'checkbox',
'combobox',
'gridcell',
'link',
'menuitem',
'menuitemcheckbox',
'menuitemradio',
'option',
'radio',
'separator',
'slider',
'switch',
'tab'
'tab',
'treeitem'
],
// 5.4 button Element
namingMethods: ['subtreeText']
Expand Down

0 comments on commit 10fb84f

Please sign in to comment.