From f3fb9e02898e36b78fe7c0b1da06863168dcac56 Mon Sep 17 00:00:00 2001 From: ugla Date: Thu, 23 Dec 2021 23:42:07 +0100 Subject: Add hints for elements The element has an implicit ARIA role of "button", and is typically used to toggle the visibility of content within a
element. --- src/scripts/hints.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/hints.js b/src/scripts/hints.js index 6a21586..1f887ec 100644 --- a/src/scripts/hints.js +++ b/src/scripts/hints.js @@ -527,7 +527,7 @@ var hints = Object.freeze((function(){ var prop, /* holds the xpaths for the different modes */ xpathmap = { - otY: "//*[@href] | //*[@onclick or @tabindex or @class='lk' or @role='link' or @role='button'] | //input[not(@type='hidden' or @disabled or @readonly)] | //textarea[not(@disabled or @readonly)] | //button | //select", + otY: "//*[@href] | //*[@onclick or @tabindex or @class='lk' or @role='link' or @role='button'] | //input[not(@type='hidden' or @disabled or @readonly)] | //textarea[not(@disabled or @readonly)] | //button | //select | //summary", k: "//div", e: "//input[not(@type) or @type='text'] | //textarea", iI: "//img[@src]", -- cgit v1.2.3