summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsvenk <45520974+psvenk@users.noreply.github.com>2020-05-17 15:54:13 -0400
committerJack Rosenthal <jack@rosenth.al>2020-05-22 13:19:57 -0600
commitafb7054cdd8aae8ffaf842fff0db14c4551d32fc (patch)
treea4ed3e807efc1f466bf272a83977a81ed9a5ed13
parentdbf02d0b77636eedfe83ff5d9f70920616e8e017 (diff)
downloadpentadactyl-afb7054cdd8aae8ffaf842fff0db14c4551d32fc.tar.gz
Make <summary> tags navigable using hints
Add "summary" to 'hinttags' in accordance with Mozilla bug 1249556: https://bugzilla.mozilla.org/show_bug.cgi?id=1249556
-rw-r--r--common/content/hints.js2
-rw-r--r--common/locale/en-US/options.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/content/hints.js b/common/content/hints.js
index eb10fec7..5b7d961f 100644
--- a/common/content/hints.js
+++ b/common/content/hints.js
@@ -1371,7 +1371,7 @@ var Hints = Module("hints", {
"XPath or CSS selector strings of hintable elements for Hints mode",
// Make sure to update the docs when you change this.
"stringlist", ":-moz-any-link,area,button,iframe,input:not([type=hidden]):not([disabled])," +
- "label[for],select,textarea," +
+ "label[for],select,textarea,summary," +
"[onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand]," +
"[tabindex],[role=link],[role=button],[contenteditable=true]",
{
diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml
index ef2bca58..a89eaadc 100644
--- a/common/locale/en-US/options.xml
+++ b/common/locale/en-US/options.xml
@@ -969,7 +969,7 @@
<spec>'hinttags' 'ht'</spec>
<type>&option.hinttags.type;</type>
<default>:-moz-any-link,area,button,iframe,input:not([type=hidden]),
- label[for],select,textarea,
+ label[for],select,textarea,summary,
[onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand],
[tabindex],[role=link],[role=button],[contenteditable=true]</default>
<description>