From 0301dd510444a215ff2443c2a0e5cb817c19bb21 Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 21 May 2024 15:52:22 +0200 Subject: [PATCH] wip #6927 --- js/quiz.accessibility.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/quiz.accessibility.js b/js/quiz.accessibility.js index 868562c..5fd6862 100644 --- a/js/quiz.accessibility.js +++ b/js/quiz.accessibility.js @@ -25,8 +25,7 @@ QuizAccessibility.prototype = { if (key === 'ENTER') { console.log("enter 2") - console.log($(this)) - let el = $(':focus').find('[aria-keyshortcuts="' + key + '"]') + let el = $(':focus').find('[aria-keyshortcuts]') if ($this.quiz.utils.isEnabled(el)) { el.click(); return true; -- 2.39.5