summaryrefslogtreecommitdiff
path: root/help3xsl/help.js
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-10-25 18:20:13 +0300
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2023-10-25 18:05:54 +0200
commit4f4db70a67558885482ba33892910f8123f00c03 (patch)
treeef3cf15229add2315375267917a95af3befb35fc /help3xsl/help.js
parentc10e043fdaf6ed01727d99dfa3bcccd49ba9c527 (diff)
Improve accessibility of dropdown menus
Now the opened menus can be closed with Esc key, so we conform to the dismissible success criterion in WCAG 2.1: https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html To simplify things, now the navigation lists are populated upon page load in all cases. Change-Id: I0a7daaea122d3e03de36c322ccb012c546b271e0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158429 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 69f85cbf17c5acb8fb9b38772139c34eea96a772) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158436 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r--help3xsl/help.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js
index 3e9c0fe110..8e0dc54206 100644
--- a/help3xsl/help.js
+++ b/help3xsl/help.js
@@ -258,4 +258,5 @@ function youtubeLoader(ytId, width, height) {
placeholder.innerHTML = iframeMarkup;
placeholder.removeAttribute("style");
}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */