diff options
author | Florian Bruhin <me@the-compiler.org> | 2024-03-27 23:58:36 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2024-03-27 23:58:36 +0100 |
commit | 3d86d7876abddea68fd04bd72ce3a7f8c9f297ad (patch) | |
tree | 3f179857ee89e5b65bb0f48d4921c8025bf3c7d3 | |
parent | 9560d7355fc9d46b1bb3dd33878a365763c89677 (diff) | |
download | qutebrowser-3d86d7876abddea68fd04bd72ce3a7f8c9f297ad.tar.gz qutebrowser-3d86d7876abddea68fd04bd72ce3a7f8c9f297ad.zip |
Add role="switch" to default hints.selectors
See https://www.reddit.com/r/qutebrowser/comments/1bomb3h/closing_popups_within_a_webpage_and_toggling/
-rw-r--r-- | doc/changelog.asciidoc | 2 | ||||
-rw-r--r-- | doc/help/settings.asciidoc | 1 | ||||
-rw-r--r-- | qutebrowser/config/configdata.yml | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 53bb75a2f..f5395c750 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -31,6 +31,8 @@ Changed - A few more completions will now match search terms in any order: `:quickmark-*`, `:bookmark-*`, `:tab-take` and `:tab-select` (for the quick and bookmark categories). (#7955) +- Elements with an ARIA `role="switch"` now get hints (toggle switches like + e.g. on cookie banners). Fixed ~~~~~ diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index b69700880..af76527c9 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -3476,6 +3476,7 @@ Default: * +pass:[[role="button"\]]+ * +pass:[[role="tab"\]]+ * +pass:[[role="checkbox"\]]+ +* +pass:[[role="switch"\]]+ * +pass:[[role="menuitem"\]]+ * +pass:[[role="menuitemcheckbox"\]]+ * +pass:[[role="menuitemradio"\]]+ diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index de6948150..ca92f96c1 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -1784,6 +1784,7 @@ hints.selectors: - '[role="button"]' - '[role="tab"]' - '[role="checkbox"]' + - '[role="switch"]' - '[role="menuitem"]' - '[role="menuitemcheckbox"]' - '[role="menuitemradio"]' |