From 4e983981f68dd5d67b143e35b5ca6072c24a6d25 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 22 May 2024 17:25:20 +0200 Subject: [PATCH] wip #6927 --- js/quiz.accessibility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/quiz.accessibility.js b/js/quiz.accessibility.js index e2c9bf6..24d8a9c 100644 --- a/js/quiz.accessibility.js +++ b/js/quiz.accessibility.js @@ -23,7 +23,7 @@ QuizAccessibility.prototype = { if (key === 'ENTER') { let el = $(':focus').find('[aria-keyshortcuts]') - if($('[for="toggleDropdown"]')) { + if(this.quiz.screens.getActiveScreen().find('[for="toggleDropdown"]')) { $('[for="toggleDropdown"]:focus').get(0).click(); } if ($this.quiz.utils.isEnabled(el)) { -- 2.39.5