diff options
author | ugla <ugla@u8.is> | 2021-12-23 23:42:07 +0100 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2022-01-01 20:31:06 +0000 |
commit | f3fb9e02898e36b78fe7c0b1da06863168dcac56 (patch) | |
tree | efc81c806139168dcf730d2d6fc05502a80d0482 /src | |
parent | 95e71fc0de5dd0cf87270678c957e54160ec25ad (diff) |
Add hints for <summary> elements
The <summary> element has an implicit ARIA role of "button", and is
typically used to toggle the visibility of content within a <details>
element.
Diffstat (limited to 'src')
-rw-r--r-- | src/scripts/hints.js | 2 |
1 files changed, 1 insertions, 1 deletions
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]", |