Skip to content

Commit

Permalink
Merge pull request #56 from scottaohara/patch-5
Browse files Browse the repository at this point in the history
allows role=combobox on button and input type=button
  • Loading branch information
gezlemon authored Jan 16, 2022
2 parents 922d989 + 1128ff2 commit 7e8e47a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aria-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ var objElementRules = {
"button": {
"nodeName": "button",
"nativeRole": "button",
"allowedRoles": ["checkbox", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "tab"]
"allowedRoles": ["checkbox", "combobox", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "tab"]
},
"canvas": {
"nodeName": "canvas",
Expand Down Expand Up @@ -1069,7 +1069,7 @@ var objElementRules = {
"input-button": {
"nodeName": "input",
"nativeRole": "button",
"allowedRoles": ["link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "tab"]
"allowedRoles": ["checkbox", "combobox", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "tab"]
},
"input-checkbox": {
"nodeName": "input",
Expand Down

0 comments on commit 7e8e47a

Please sign in to comment.