From 705eefbc42ec430681b296a8f4decd61ec4050d6 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 22 May 2024 12:20:43 +0200 Subject: [PATCH] wip #6927 --- js/quiz.accessibility.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/quiz.accessibility.js b/js/quiz.accessibility.js index ad086dd..612a494 100644 --- a/js/quiz.accessibility.js +++ b/js/quiz.accessibility.js @@ -25,6 +25,9 @@ QuizAccessibility.prototype = { if (key === 'ENTER') { let el = $(':focus').find('[aria-keyshortcuts]') + if(!el) { + $(':focus').click() + } if ($this.quiz.utils.isEnabled(el)) { el.get(0).click((e) => { e.preventDefault() }); return true; -- 2.39.5