diff options
| author | mrmr1993 | 2017-10-19 15:45:57 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2017-10-19 15:45:57 +0100 | 
| commit | a986bc2a6ff3c13169782a9258b931a7c0e03da8 (patch) | |
| tree | 10556b53db9cf8b60479de186aa2bfd2d042647a | |
| parent | 8f31f1b5c3e6b731369973dc44be98be9f356339 (diff) | |
| download | vimium-a986bc2a6ff3c13169782a9258b931a7c0e03da8.tar.bz2 | |
Recognise aria-role=tab elements as clickable
In particular, these are used in the current (2017-10-19) version of
YouTube. This fixes #2730.
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 | 
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 | 
