diff --git a/js/sidebar.js b/js/sidebar.js
index fd2c9b2..8248b98 100644
--- a/js/sidebar.js
+++ b/js/sidebar.js
@@ -77,6 +77,7 @@ jQuery(function () {
const $toggler = jQuery('
')
.attr('role', 'heading')
.attr('aria-level', '2')
+ .attr('tabindex', '0')
.text(text)
.wrapInner('')
.prepend($icon)
@@ -102,7 +103,7 @@ jQuery(function () {
* Initialize the open/close toggling of menu entries
*/
const initMenuHandling = function () {
- $nav.on('click', 'h6', function () {
+ $nav.on('click keypress', 'h6', function () {
toggleNav(jQuery(this));
});
};