Skip to content

Commit

Permalink
Link hints for role="radio"
Browse files Browse the repository at this point in the history
  • Loading branch information
ember-rose authored and philc committed May 22, 2022
1 parent 3e93d7a commit 1bcc604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content_scripts/link_hints.js
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ var LocalHints = {
if (element.hasAttribute("onclick")) {
isClickable = true;
} else if (((role = element.getAttribute("role")) != null) &&
["button" , "tab" , "link", "checkbox", "menuitem", "menuitemcheckbox", "menuitemradio"].includes(role.toLowerCase())) {
["button" , "tab" , "link", "checkbox", "menuitem", "menuitemcheckbox", "menuitemradio", "radio"].includes(role.toLowerCase())) {
isClickable = true;
} else if (((contentEditable = element.getAttribute("contentEditable")) != null) &&
["", "contenteditable", "true"].includes(contentEditable.toLowerCase())) {
Expand Down

0 comments on commit 1bcc604

Please sign in to comment.