aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2017-10-19 15:57:13 +0100
committerGitHub2017-10-19 15:57:13 +0100
commit895a5e85fe40d2d1ba718b2ef51436d82e913ebe (patch)
tree10556b53db9cf8b60479de186aa2bfd2d042647a
parent8f31f1b5c3e6b731369973dc44be98be9f356339 (diff)
parenta986bc2a6ff3c13169782a9258b931a7c0e03da8 (diff)
downloadvimium-895a5e85fe40d2d1ba718b2ef51436d82e913ebe.tar.bz2
Merge pull request #2732 from mrmr1993/aria-tab-clickable
Recognise role=tab elements as clickable
-rw-r--r--content_scripts/link_hints.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index d9ce5d06..f3e0ac84 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -660,7 +660,7 @@ LocalHints =
# Check for attributes that make an element clickable regardless of its tagName.
if (element.hasAttribute("onclick") or
- element.getAttribute("role")?.toLowerCase() in ["button", "link"] or
+ element.getAttribute("role")?.toLowerCase() in ["button" , "tab" , "link"] or
element.getAttribute("contentEditable")?.toLowerCase() in ["", "contentEditable", "true"])
isClickable = true